#include <pid_steering_motor.hpp>
Definition at line 7 of file pid_steering_motor.hpp.
◆ PIDSteeringMotor()
◆ compute_steering_rate()
| double PIDSteeringMotor::compute_steering_rate |
( |
double |
current_steering, |
|
|
double |
steering_goal |
|
) |
| |
|
overridevirtual |
Computes the change in steering angle based on PID control.
- Parameters
-
| current_steering | current steering angle in radians |
| steering_goal | desired steering angle in radians |
- Returns
- double change in steering angle in radians
Implements SteeringMotorModel.
Definition at line 3 of file pid_steering_motor.cpp.
◆ integral_
| double PIDSteeringMotor::integral_ = 0.0 |
|
private |
◆ last_update
| rclcpp::Time PIDSteeringMotor::last_update = rclcpp::Time(0, 0) |
|
private |
◆ previous_error_
| double PIDSteeringMotor::previous_error_ = 0.0 |
|
private |
The documentation for this class was generated from the following files: