Skip to content

Commit ee892d8

Browse files
committed
[BugFix] Rotation dynamics
1 parent 21a3199 commit ee892d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vmas/simulator/dynamics/roatation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def needed_action_size(self) -> int:
1111
return 1
1212

1313
def process_action(self):
14-
self.agent.state.torque = self.agent.action.u[:, 0]
14+
self.agent.state.torque = self.agent.action.u[:, 0].unsqueeze(-1)

0 commit comments

Comments
 (0)