Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
base_steering_model.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Dense>
4
6
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)) {}
22 virtual Eigen::Vector4d calculate_steering_angles(double steering_wheel_angle) const = 0;
23};
virtual Eigen::Vector4d calculate_steering_angles(double steering_wheel_angle) const =0
Calculate the steering angles on each wheel based on the steering wheel angle.
std::shared_ptr< common_lib::car_parameters::CarParameters > car_parameters_
SteeringModel(const common_lib::car_parameters::CarParameters &car_parameters)
Hash function for cones.
Definition cone.hpp:36