Skip to content
Snippets Groups Projects
Commit e2c2d585 authored by Hoop77's avatar Hoop77
Browse files

-

parent 093163a5
Branches
No related merge requests found
......@@ -54,7 +54,7 @@ void CruiseController::run_ACC(float target_speed)
}
else
{
speed = target_speed * std::min( pow((d - stop_dist) / (target_speed), 2), 1.0);
speed = target_speed * std::min( pow((d - stop_dist) / (target_speed), 2.5), 1.0);
messageOStream.write("speed", speed);
messageOStream.write("distance", d);
}
......
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