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

#include <base_steering_motor_model.hpp>

Inheritance diagram for SteeringMotorModel:
Inheritance graph
Collaboration diagram for SteeringMotorModel:
Collaboration graph

Public Member Functions

 SteeringMotorModel (const common_lib::car_parameters::CarParameters &car_parameters)
 
virtual double compute_steering_rate (double current_steering, double steering_goal)=0
 Computes the change in steering angle based.
 

Protected Attributes

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

Detailed Description

Definition at line 8 of file base_steering_motor_model.hpp.

Constructor & Destructor Documentation

◆ SteeringMotorModel()

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

Definition at line 13 of file base_steering_motor_model.hpp.

Member Function Documentation

◆ compute_steering_rate()

virtual double SteeringMotorModel::compute_steering_rate ( double  current_steering,
double  steering_goal 
)
pure virtual

Computes the change in steering angle based.

Parameters
current_steeringcurrent steering angle in radians
steering_goaldesired steering angle in radians
Returns
double change in steering angle in radians

Implemented in PIDSteeringMotor.

Member Data Documentation

◆ car_parameters_

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

Definition at line 10 of file base_steering_motor_model.hpp.


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