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

#include <base_steering_model.hpp>

Inheritance diagram for SteeringModel:
Inheritance graph
Collaboration diagram for SteeringModel:
Collaboration graph

Public Member Functions

 SteeringModel (const common_lib::car_parameters::CarParameters &car_parameters)
 
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.
 

Protected Attributes

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

Detailed Description

Definition at line 7 of file base_steering_model.hpp.

Constructor & Destructor Documentation

◆ SteeringModel()

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

Definition at line 12 of file base_steering_model.hpp.

Member Function Documentation

◆ calculate_steering_angles()

virtual Eigen::Vector4d SteeringModel::calculate_steering_angles ( double  steering_wheel_angle) const
pure virtual

Calculate the steering angles on each wheel based on the steering wheel angle.

Parameters
steering_wheel_angleThe angle of the steering wheel in radians.
Returns
Eigen::Vector4d A vector containing the steering angles for each wheel: [front left, front right, rear left, rear right] in radians.

Implemented in ParallelFrontSteering.

Member Data Documentation

◆ car_parameters_

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

Definition at line 9 of file base_steering_model.hpp.


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