Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
common_lib::car_model Namespace Reference

Functions

Eigen::Vector4d weight_transfer (const Eigen::Vector2d accelerations, const Eigen::Vector3d &aero_forces, const common_lib::car_parameters::CarParameters &car_params)
 Calculate the weight transfer based on car parameters, on accelerations and aerodynamic forces.
 

Function Documentation

◆ weight_transfer()

Eigen::Vector4d common_lib::car_model::weight_transfer ( const Eigen::Vector2d  accelerations,
const Eigen::Vector3d &  aero_forces,
const common_lib::car_parameters::CarParameters car_params 
)

Calculate the weight transfer based on car parameters, on accelerations and aerodynamic forces.

Parameters
accelerationsaccelerations at the center of gravity in the x and y directions (longitudinal and lateral)
aero_forcesaerodynamic forces in the x, y, and z directions
car_paramscar parameters including mass, wheelbase, center of gravity height, etc.
Returns
Eigen::Vector4d load on the wheels in the order of [FL, FR, RL, RR].

Definition at line 6 of file weight_transfer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: