Skip to content

Commit

Permalink
sigh
Browse files Browse the repository at this point in the history
  • Loading branch information
tsilver-bdai committed Aug 25, 2023
1 parent cfa7635 commit d6eafc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions predicators/ground_truth_models/spot/nsrts.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def _move_sampler(spot_interface: _SpotInterface, state: State,
assert len(objs) in [2, 3, 4]
dyaw = 0.0
# For MoveToObjOnFloor
if objs[1].name == "toolbag" or objs[1].name == "platform" or (len(objs) == 3
if objs[1].name in ["toolbag", "extra_room_table_left"] or objs[1].name == "platform" or (len(objs) == 3
and objs[-1].name != "platform"):
if objs[1].name == "toolbag" or objs[1].name == "platform" or objs[2].name == "floor":
if objs[1].name in ["toolbag", "extra_room_table_left"] or objs[1].name == "platform" or objs[2].name == "floor":
# Sample dyaw so that there is some hope of seeing objects from
# different angles.
dyaw = rng.uniform(-np.pi / 8, np.pi / 8)
Expand Down

0 comments on commit d6eafc5

Please sign in to comment.