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

Skip to content
Snippets Groups Projects
Commit e6e7e834 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

DefaultDriverStrategy: Removed unneeded code from previous solution attempts (hamstercode)

parent ea476763
No related branches found
No related tags found
No related merge requests found
......@@ -1303,15 +1303,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
response = Driver.DrivingActionAccelerate(absTime, ds, DriverStrategy.BrakeTrigger.NextTargetSpeed, gradient);
debug.Add(new { a = "(8) Accelerate", response });
} else {
//try {
response = Driver.DrivingActionRoll(absTime, ds, targetVelocity, gradient);
debug.Add(new { a = "(9) Roll", response });
//} catch (VectoException e) {
// debug.Add(new { a = "(10) Exception", e });
// Log.Info("Got a VectoException {e}", e);
// response = Driver.DrivingActionCoast(absTime, ds, DriverStrategy.BrakeTrigger.NextTargetSpeed, gradient);
// debug.Add(new { a = "(11) Coast", response });
//}
response = Driver.DrivingActionRoll(absTime, ds, targetVelocity, gradient);
debug.Add(new { a = "(9) Roll", response });
}
switch (response) {
......
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