__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
setCarTargetSpeed
getCarState
getCarControls
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 "".