Vehicle Data

Datastore For Assetto Corsa Vehicle Files

Vehicle Data

CLASS

ace.VehicleData

(

data_path: str

)

Parses vehicle data files extracted from Assetto Corsa into a datastore

Arguments:

  • data_path (str) - Path to the folder containing the vehicle data files

PROPERTY

front_suspension

Information relating to the vehicle's front suspension

Returns:

dict

PROPERTY

rear_suspension

Information relating to the vehicle's rear suspension

Returns:

dict

PROPERTY

car_control

Information relating to the vehicle's controls

Returns:

dict

PROPERTY

wheelbase

LinearDistance between the vehicle's front and rear wheel centers in meters

Returns:

float

PROPERTY

width

Width of the vehicle in meters

Returns:

float

PROPERTY

steering_ratio

Ratio of movement between the vehicle's steering wheel and pinion

Returns:

float

PROPERTY

steering_lock

Maximum ratio of the vehicle's steering wheel

Returns:

float

PROPERTY

rack_movement_to_steering_angle_ratio

Linear rack movement in response to steering

Returns:

float

PROPERTY

max_steering_radians

The maximum steering angle of the vehicle in radian

Returns:

float

PROPERTY

right_inner_tie_rod_location

Where the right tie rod connects to the steering rack in [x,y,z] coordinates

Returns:

np.array

PROPERTY

right_outer_tie_rod_location

Where the right tie rod connects to the steering knuckle in [x,y,z] coordinates

Returns:

np.array

PROPERTY

left_inner_tie_rod_location

Where the left tie rod connects to the steering rack in [x,y,z] coordinates

Returns:

np.array

PROPERTY

left_outer_tie_rod_location

Where the left tie rod connects to the steering knuckle in [x,y,z] coordinates

Returns:

np.array

PROPERTY

left_tyre_axis_top_location

Where the top ball joint of the left steering knuckle is in [x,y,z] coordinates

Returns:

np.array

PROPERTY

left_tyre_axis_bottom_location

Where the bottom ball joint of the left steering knuckle is in [x,y,z] coordinates

Returns:

np.array

PROPERTY

right_tyre_axis_top_location

Where the top ball joint of the right steering knuckle is in [x,y,z] coordinates

Returns:

np.array

PROPERTY

right_tyre_axis_bottom_location

Where the bottom ball joint of the right steering knuckle is in [x,y,z] coordinates

Returns:

np.array