Releases: mit-ll/spacegym-kspdg
Releases · mit-ll/spacegym-kspdg
v0.4.2
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
v0.4.0
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
andlbg1_base.LadyBanditGuardGroup1Env
intobase_envs.Group1BaseEnv
which defines the composite action space shared across the child classes
Full Changelog: v0.3.0...v0.4.0
v0.3.0
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
inagent_api/example_agent.py
Changed
- Abstracted
convert_rhntw_to_rhpbody
andconvert_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()
andclose()
to KSPDGBaseEnv to reduce redundancy - Abstracted the
step
function frompe1
,lbg1
, andsb1
environments up to KSPDGBaseEnv under thestep_v1
function
Removed
- Commented code in lbg1_base.py,
observation_dict_to_list
andobservation_list_to_dict
Full Changelog: v0.2.0...v0.3.0
v0.2.0
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 binariesevaluate.cpython-39.pyc
(for python 3.9) andevaluate.cpython-312.pyc
(for python 3.12). This is to avoid aRuntimeError: 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 poliastroutils.solve_lambert
and related unit tests which depended upon poliastroutils.propagate_orbit_tof
and related unit tests which depended upon poliastro
Full Changelog: v0.1.0...v0.2.0
v0.1.0
See CHANGELOG Notes
Full Changelog: v0.0.23...v0.1.0
v0.0.23
See CHANGELOG Notes
Full Changelog: v0.0.22...v0.0.23