updated test to pytest
This commit is contained in:
@@ -77,7 +77,6 @@ class BlackBoxWrapper(gym.ObservationWrapper):
|
||||
# TODO: is this correct for replanning? Do we need to adjust anything here?
|
||||
bc_time = np.array(0 if not self.do_replanning else self.current_traj_steps * self.dt)
|
||||
self.traj_gen.set_boundary_conditions(bc_time, self.current_pos, self.current_vel)
|
||||
# TODO: remove the - self.dt after Bruces fix.
|
||||
self.traj_gen.set_duration(None if self.learn_sub_trajectories else self.duration, self.dt)
|
||||
# traj_dict = self.traj_gen.get_trajs(get_pos=True, get_vel=True)
|
||||
trajectory = get_numpy(self.traj_gen.get_traj_pos())
|
||||
|
||||
Reference in New Issue
Block a user