Skip to main content

__init__

No description provided!

rotate

No description provided!

setCarControls

Control the car using throttle, steering, brake, etc.
CarControls
(CarControls): Struct containing control values
str, optional
Name of vehicle to be controlled

enableCarSpeedControl

Enable or disable speed control for the car.
bool
True to enable, false to disable.
str, optional
Name of the vehicle

setCarTargetSpeed

Set a target speed for the car.
float
Target speed in m/s
str, optional
Name of vehicle to be controlled

getCarState

The position inside the returned CarState is in the frame of the vehicle’s starting point
str, optional
Name of vehicle
CarState
CarState

getCarControls

No description provided!
str, optional
Name of vehicle
CarControls
CarControls

moveOnPath

Command the car to move along a specified path.This function sends commands to a car to follow a given path at a specified velocity. The path is a list of 3D vectors, and each vector represents a point in space that the car should follow.
List[Vector3r]
A list of 3D vectors representing the path to follow.
float
The speed at which the car should move along the path, in meters per second.
float, optional
The maximum time allowed for the car to reach the destination, in seconds. Defaults to 3e38.
int, optional
The number of points the car should look ahead on the path for control decisions. Defaults to -1, which means no specific lookahead.
bool, optional
Whether to adjust the lookahead dynamically based on the car’s speed. Defaults to True.
Optional[List[Quarterion]], optional
Optional list of orientations corresponding to each path point. Defaults to empty.
str, optional
The name of the vehicle being controlled, if applicable. Defaults to "".