CarClient
__init__
No description provided!
rotate
No description provided!
setCarControls
Control the car using throttle, steering, brake, etc.
(CarControls): Struct containing control values
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.
A list of 3D vectors representing the path to follow.
The speed at which the car should move along the path, in meters per second.
The maximum time allowed for the car to reach the destination, in seconds. Defaults to 3e38.
The number of points the car should look ahead on the path for control decisions. Defaults to -1, which means no specific lookahead.
Whether to adjust the lookahead dynamically based on the car’s speed. Defaults to True.
Optional list of orientations corresponding to each path point. Defaults to empty.
The name of the vehicle being controlled, if applicable. Defaults to "".
Was this page helpful?