Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
base_steering_motor_model.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Dense>
4#include <memory>
5
7
9protected:
10 std::shared_ptr<common_lib::car_parameters::CarParameters> car_parameters_;
11
12public:
15 std::make_shared<common_lib::car_parameters::CarParameters>(car_parameters)) {}
16
24 virtual double compute_steering_rate(double current_steering, double steering_goal) = 0;
25};
virtual double compute_steering_rate(double current_steering, double steering_goal)=0
Computes the change in steering angle based.
SteeringMotorModel(const common_lib::car_parameters::CarParameters &car_parameters)
std::shared_ptr< common_lib::car_parameters::CarParameters > car_parameters_
Hash function for cones.
Definition cone.hpp:36