use observation mask for replanning
This commit is contained in:
parent
61c1b76e29
commit
cd2b679e9b
@ -61,7 +61,8 @@ class BlackBoxWrapper(gym.ObservationWrapper):
|
||||
|
||||
# self.traj_gen.basis_gn.show_basis(plot=True)
|
||||
# spaces
|
||||
self.return_context_observation = not (learn_sub_trajectories or self.do_replanning)
|
||||
# self.return_context_observation = not (learn_sub_trajectories or self.do_replanning)
|
||||
self.return_context_observation = True
|
||||
self.traj_gen_action_space = self._get_traj_gen_action_space()
|
||||
# self.action_space = self._get_action_space()
|
||||
|
||||
|
@ -20,7 +20,7 @@ class MPWrapper(RawInterfaceWrapper):
|
||||
[True] * 4, # orientation of box
|
||||
[True] * 3, # position of target
|
||||
[True] * 4, # orientation of target
|
||||
# [True] * 1, # time
|
||||
[True] * 1, # time
|
||||
])
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user