Wheeled
Jetbot
JetBot
Inherits from: WheeledRobot
JetBot
Initialize a JetBot robot instance.
Arguments
Returns
getPosition
getPosition is not implemented for JetBot
getOrientation
getOrientation is not implemented for JetBot
getImage
Return the image of camera. JetBot only has one camera so the arguments are ignored.
Arguments
setMotors
Sets the speed of the motors for the JetBot. These values should be [-1.0, 1.0]
Arguments
Returns
stop
Stops the motors of the JetBot
setCarControls
Control the JetBot using ackermann steering. Does not adjust speed, only steering
Arguments
Returns
setCarTargetSpeed
Set the speed of the JetBot for Ackermann control. Does not adjust steering
Arguments
Returns
None
rotate
Rotate the JetBot in place
Arguments
Throttle rate to apply during rotation. Positive rotates right, negative rotates left
How long to rotate in seconds
scaling_factor (float), optional
defaults to 8. Scaling factor for the rate to make it behave similar to simulation. Defaults to 8.0
Returns