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

#include <base_aero_model.hpp>

Inheritance diagram for AeroModel:
Inheritance graph
Collaboration diagram for AeroModel:
Collaboration graph

Public Member Functions

 AeroModel (const common_lib::car_parameters::CarParameters &car_parameters)
 
virtual Eigen::Vector3d aero_forces (const Eigen::Vector3d &velocity) const =0
 Calculate the aero forces.
 

Protected Attributes

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

Detailed Description

Definition at line 7 of file base_aero_model.hpp.

Constructor & Destructor Documentation

◆ AeroModel()

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

Definition at line 12 of file base_aero_model.hpp.

Member Function Documentation

◆ aero_forces()

virtual Eigen::Vector3d AeroModel::aero_forces ( const Eigen::Vector3d &  velocity) const
pure virtual

Calculate the aero forces.

Parameters
velocityVelocity of the car in m/s in the car's body frame [vx, vy, angular_velocity]
Returns
Eigen::Vector3d Aero forces in the car's body frame [Fx, Fy, Fz] in Newtons

Implemented in DefaultAeroModel.

Member Data Documentation

◆ car_parameters_

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

Definition at line 9 of file base_aero_model.hpp.


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