pyrobosim.core.dynamics.RobotDynamics2D.step

RobotDynamics2D.step(cmd_vel: Sequence[float], dt: float) Pose

Perform a single dynamics step.

Parameters:
  • cmd_vel – Velocity command array, in the form [vx, vy, vtheta].

  • dt – Time step, in seconds.

Returns:

The new pose after applying the dynamics.