AirGenCar
Inherits from: WheeledRobot A wheeled robot implementation for the AirGen simulator. This class provides an interface to control a simulated car in the AirGen environment. It inherits from WheeledRobot and implements the necessary methods for movement, sensor data collection, and state management. The AirGenCar connects to the AirGen simulator and provides methods to:- Control the car’s movement through velocity commands
- Get sensor data like camera images
- Track and manage the car’s state
- Reset and undo actions
To access the underlying AirGen API, use the
AirGenCar.client
field.AirGenCar
reset
setCarControls
Arguments
Returns
setCarTargetSpeed
Returns
rotate
Arguments
Returns
getCarState
getCarControls
getPosition
getOrientation
getImage
Arguments
getVelocity
moveByVelocity (inherited)
Arguments
duration (float | None), optional
defaults to None.
Optional duration in seconds to move for before stopping. Defaults to None.
Returns