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