Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 7fa438de authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

switch to drive as next driving action when a halt-action is performed

parent a2834b91
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public IResponse Request(Second absTime, Second dt, MeterPerSecond targetVelocity, Radian gradient)
{
DriverBehavior = DrivingBehavior.Halted;
CurrentDrivingMode = DrivingMode.DrivingModeDrive;
return Driver.DrivingActionHalt(absTime, dt, targetVelocity, gradient);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment