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

#include <rigid_body_model.hpp>

Inheritance diagram for RigidBodyLoadTransferModel:
Inheritance graph
Collaboration diagram for RigidBodyLoadTransferModel:
Collaboration graph

Public Member Functions

 RigidBodyLoadTransferModel (const common_lib::car_parameters::CarParameters &car_parameters)
 
Eigen::Vector4d compute_loads (const Eigen::VectorXd &dynamic_state) const override
 Computes loads on the tires based on the dynamic state of the vehicle.
 
- Public Member Functions inherited from LoadTransferModel
 LoadTransferModel (const common_lib::car_parameters::CarParameters &car_parameters)
 

Additional Inherited Members

- Protected Attributes inherited from LoadTransferModel
std::shared_ptr< common_lib::car_parameters::CarParameterscar_parameters_
 

Detailed Description

Definition at line 3 of file rigid_body_model.hpp.

Constructor & Destructor Documentation

◆ RigidBodyLoadTransferModel()

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

Definition at line 5 of file rigid_body_model.hpp.

Member Function Documentation

◆ compute_loads()

Eigen::Vector4d RigidBodyLoadTransferModel::compute_loads ( const Eigen::VectorXd &  dynamic_state) const
overridevirtual

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

Parameters
dynamic_stateReceives only the lateral and longitudinal accelerations
Returns
Eigen::Vector4d a vector containing the loads on the four tires in Newtons, in the order: FL, FR, RL, RR.

Implements LoadTransferModel.

Definition at line 3 of file rigid_body_model.cpp.


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