Skip to content
Snippets Groups Projects
Commit 782f1f9a authored by Vladimír Vondruš's avatar Vladimír Vondruš Committed by Oleksandr
Browse files

Adapt to habitat-sim Python bindings updates. (#154)

This does the necessary adaptation to facebookresearch/habitat-sim#64 -- this was the only failure in habitat-sim's CI tests
parent ccad9a0d
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,8 @@ def _strafe_impl( ...@@ -39,7 +39,8 @@ def _strafe_impl(
noise_amount: float, noise_amount: float,
): ):
forward_ax = ( 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.deg2rad(strafe_angle)
strafe_angle = np.random.uniform( strafe_angle = np.random.uniform(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment