WheeledRobot

Inherits from: Robot

moveByVelocity

WheeledRobot.moveByVelocity(linear_velocity: Velocity, angular_velocity: Velocity, duration: float | None)
Move the robot by setting linear and angular velocity.
Arguments
linear_velocity (Velocity)
required
VelocityLinear velocity object containing x_vel component
angular_velocity (Velocity)
required
VelocityAngular velocity object containing z_vel component
duration (float | None), optional
defaults to None. Optional duration in seconds to move for before stopping. Defaults to None.
Returns