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
5
#include "
common_lib/car_parameters/car_parameters.hpp
"
6
7
class
SteeringModel
{
8
protected
:
9
std::shared_ptr<common_lib::car_parameters::CarParameters>
car_parameters_
;
10
11
public
:
12
SteeringModel
(
const
common_lib::car_parameters::CarParameters
& car_parameters)
13
:
car_parameters_
(
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
};
SteeringModel
Definition
base_steering_model.hpp:7
SteeringModel::calculate_steering_angles
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.
SteeringModel::car_parameters_
std::shared_ptr< common_lib::car_parameters::CarParameters > car_parameters_
Definition
base_steering_model.hpp:9
SteeringModel::SteeringModel
SteeringModel(const common_lib::car_parameters::CarParameters &car_parameters)
Definition
base_steering_model.hpp:12
car_parameters.hpp
common_lib
Definition
weight_transfer.hpp:7
std
Hash function for cones.
Definition
cone.hpp:36
common_lib::car_parameters::CarParameters
Definition
car_parameters.hpp:15
src
motion_lib
include
motion_lib
steering_model
base_steering_model.hpp
Generated by
1.9.8