Skip to content

Releases: mit-ll/spacegym-kspdg

v0.4.2

28 Nov 17:15
Compare
Choose a tag to compare

Changed

  • Updated which tests to be run, i.e. sb1_e1_i5

Removed

  • 20220516_PursuitEvade mission files
  • Tests for 20220629 pursuit scenario

Full Changelog: v0.4.1...v0.4.2

v0.4.1

22 Nov 17:02
Compare
Choose a tag to compare

Fixed

  • Typo in SB1_E1_I5_V1

Full Changelog: v0.4.0...v0.4.1

v0.4.0

20 Nov 00:13
Compare
Choose a tag to compare

From CHANGELOG.md:

Added

  • New field in composite action space "vec_type" which is a discrete variable that can be used to indicate if the action vector represents throttle values (-1, 1 in each axes) or thrust values (in Newtons in each axes)

Changed

  • further abstracted code from pe1_base.PursuitEvadeGroup1Env and lbg1_base.LadyBanditGuardGroup1Env into base_envs.Group1BaseEnv which defines the composite action space shared across the child classes

Full Changelog: v0.3.0...v0.4.0

v0.3.0

13 Nov 21:47
Compare
Choose a tag to compare

From CHANGELOG.md:

Added

  • New composite action space for pe1 environments that allows you to define the reference frame in which the burn is to be interpretted. The composite action space uses dictionaries as actions with two fields "burn_vec" and "ref_frame". burn_vec is the same format as the old action space (Box action space). ref_frame is an integer (Discrete action space). Backward compatibility with old action space has been maintained. If a list-like object is passed in, it will treat it as the old action space, otherwise a dict with appropriate fields must be passed
  • Addtional test_pe1_e1_i3.py tests for reference frames
  • Example agent using new action space and NTW reference frame. See ProgradePursuitAgent in agent_api/example_agent.py

Changed

  • Abstracted convert_rhntw_to_rhpbody and convert_rhcbci_to_rhpbody to parent level functions requiring as input the vessel object for which conversion to right-hand body coords is to be performed
  • Abstracted _start_bot_threads() and close() to KSPDGBaseEnv to reduce redundancy
  • Abstracted the step function from pe1, lbg1, and sb1 environments up to KSPDGBaseEnv under the step_v1 function

Removed

  • Commented code in lbg1_base.py, observation_dict_to_list and observation_list_to_dict

Full Changelog: v0.2.0...v0.3.0

v0.2.0

05 Nov 17:14
Compare
Choose a tag to compare

From CHANGELOG.md:

Fixed

  • Resolve iss7 by switching print statements to logger statements in lbg1_base.py

Changed

  • Conda environment is no longer pinned to python 3.9 due to removal of poliastro dependency. This will cause the most recent python version (currently 3.12) to be used when creating the environment
  • evaluate.pyc script has been replaced by python-version-specific binaries evaluate.cpython-39.pyc (for python 3.9) and evaluate.cpython-312.pyc (for python 3.12). This is to avoid a RuntimeError: Bad magic number in .pyc file when trying to run evaluate.pyc from the wrong python version

Removed

  • poliastro dependency and related functions in utils.py. This removes functions for propagating orbits which were used for non-essential metric evals. For further justification, see this issue
  • utils.estimate_capture_dv and related unit tests which depended upon poliastro
  • utils.solve_lambert and related unit tests which depended upon poliastro
  • utils.propagate_orbit_tof and related unit tests which depended upon poliastro

Full Changelog: v0.1.0...v0.2.0

v0.1.0

24 Oct 00:54
Compare
Choose a tag to compare

v0.0.23

07 Sep 17:23
Compare
Choose a tag to compare

v0.0.22

09 Mar 03:59
Compare
Choose a tag to compare

First public release for DOI purposes.

Recent work:

  • Refactored the code base for less redundancy and more consistency across environment groups
  • Implemented target guarding (i.e. lady-bandit-guard) problem in addition to basic pursuit-evade