Skip to content
Snippets Groups Projects
Commit aefdfea4 authored by Charles Javerliat's avatar Charles Javerliat
Browse files

Update angle speed deceleration/acceleration max

parent b65a7d40
No related branches found
No related tags found
1 merge request!1Add speed profile
......@@ -27,15 +27,13 @@ void SpeedRegulator::reset()
m_linearSpeedCmd = 0;
m_angularSpeedCmd = 0;
setSetpoint(0, 0);
}
const float LIN_SPEED_DECELERATION_MAX = 0.3;
const float LIN_SPEED_ACCELERATION_MAX = 0.3;
const float LIN_SPEED_DECELERATION_MAX = 0.8;
const float LIN_SPEED_ACCELERATION_MAX = 0.8;
const float ANG_SPEED_DECELERATION_MAX = 0.1;
const float ANG_SPEED_ACCELERATION_MAX = 0.1;
const float ANG_SPEED_DECELERATION_MAX = 3.14;
const float ANG_SPEED_ACCELERATION_MAX = 3.14;
void SpeedRegulator::update(double dt)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment