Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
LoadTransferModel Class Referenceabstract

Base class for models that compute load transfer on a vehicle. More...

#include <base_load_transfer_model.hpp>

Inheritance diagram for LoadTransferModel:
Inheritance graph
Collaboration diagram for LoadTransferModel:
Collaboration graph

Public Member Functions

 LoadTransferModel (const common_lib::car_parameters::CarParameters &car_parameters)
 
virtual Eigen::Vector4d compute_loads (const Eigen::VectorXd &dynamic_state) const =0
 Computes loads on the tires based on the dynamic state of the vehicle.
 

Protected Attributes

std::shared_ptr< common_lib::car_parameters::CarParameterscar_parameters_
 

Detailed Description

Base class for models that compute load transfer on a vehicle.

Definition at line 12 of file base_load_transfer_model.hpp.

Constructor & Destructor Documentation

◆ LoadTransferModel()

LoadTransferModel::LoadTransferModel ( const common_lib::car_parameters::CarParameters car_parameters)
inline

Definition at line 17 of file base_load_transfer_model.hpp.

Member Function Documentation

◆ compute_loads()

virtual Eigen::Vector4d LoadTransferModel::compute_loads ( const Eigen::VectorXd &  dynamic_state) const
pure virtual

Computes loads on the tires based on the dynamic state of the vehicle.

Parameters
dynamic_stateContains the relevant dynamic state that affects the load transfer, can include accelerations, euler angles, velocities, etc.
Returns
Eigen::Vector4d a vector containing the loads on the four tires in Newtons, in the order: FL, FR, RL, RR.

Implemented in RigidBodyLoadTransferModel.

Member Data Documentation

◆ car_parameters_

std::shared_ptr<common_lib::car_parameters::CarParameters> LoadTransferModel::car_parameters_
protected

Definition at line 14 of file base_load_transfer_model.hpp.


The documentation for this class was generated from the following file: