Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eundersander committed Mar 5, 2024
1 parent e05cd81 commit 72bd002
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ def __init__(
assert len(action_space.shape) == 1
num_actions = action_space.shape[0]

articulated_agent = self._env._sim.agents_mgr[
agent_index
].articulated_agent
articulated_agent = self._env._sim.agents_mgr[agent_index].articulated_agent # type: ignore[attr-defined]

# sloppy: derive turn scale. This is the change in yaw (in radians) corresponding to a base ang vel action of 1.0. See also Habitat-lab BaseVelAction.
turn_scale = (
Expand Down

0 comments on commit 72bd002

Please sign in to comment.