Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
base_aero_model.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Dense>
4
6
7class AeroModel {
8protected:
9 std::shared_ptr<common_lib::car_parameters::CarParameters> car_parameters_;
10
11public:
14 std::make_shared<common_lib::car_parameters::CarParameters>(car_parameters)) {}
21 virtual Eigen::Vector3d aero_forces(const Eigen::Vector3d& velocity) const = 0;
22};
std::shared_ptr< common_lib::car_parameters::CarParameters > car_parameters_
AeroModel(const common_lib::car_parameters::CarParameters &car_parameters)
virtual Eigen::Vector3d aero_forces(const Eigen::Vector3d &velocity) const =0
Calculate the aero forces.
Hash function for cones.
Definition cone.hpp:36