$darkmode
#include <simple_steering_model.hpp>
Public Member Functions | |
| SimpleSteeringModel (double delta_time_s) | |
| void | update_model (double steering_torque, double long_velocity) |
| double | steering_angle () const |
This steering model models the front-wheel angle based on the torque applied at the steering wheel and the current vehicle veloocity.
This model must be updated before values are read from it.
|
inline |
Return the steering angle at the front-wheel in [rad].
|
inline |
Update the front-wheel steering angle based on the steering-wheel torque and the vehicle velocity.
Note that this updates the model over time, so that each call assumes that a certain amount of time is.
| steering_torque | in [Nm] |
| long_velocity | in [m/s] |