Skip to content

Commit

Permalink
Adapt to habitat-sim Python bindings updates. (facebookresearch#154)
Browse files Browse the repository at this point in the history
This does the necessary adaptation to facebookresearch/habitat-sim#64 -- this was the only failure in habitat-sim's CI tests
  • Loading branch information
mosra authored and mathfac committed Jul 11, 2019
1 parent ccad9a0 commit 782f1f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/new_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def _strafe_impl(
noise_amount: float,
):
forward_ax = (
scene_node.absolute_transformation()[0:3, 0:3] @ habitat_sim.geo.FRONT
np.array(scene_node.absolute_transformation().rotation_scaling())
@ habitat_sim.geo.FRONT
)
strafe_angle = np.deg2rad(strafe_angle)
strafe_angle = np.random.uniform(
Expand Down

0 comments on commit 782f1f9

Please sign in to comment.