Motor PID#
#include "navground/core/behavior_modulations/motor_pid.h"
A modulation that control motor torques using a PID.
Requires that the behavior has a \ref DynamicTwoWheelsDifferentialDriveKinematics kinematics.
Registered properties:
Public Functions
Construct a new instance.
- Parameters:
k_p – [in] The P factor
k_i – [in] The I factor
k_d – [in] The D factor
Gets the P factor.
- Returns:
A number
Sets the P factor.
- Parameters:
value – [in] A number.
Gets the P factor.
- Returns:
A number
Sets the I factor.
- Parameters:
value – [in] A number.
Gets the D factor.
- Returns:
A number
Sets the D factor.
- Parameters:
value – [in] A number.