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

Skip to content
Snippets Groups Projects
Commit 8aa76069 authored by Michael KRISPER's avatar Michael KRISPER Committed by Markus Quaritsch
Browse files

Pull request #186: Bugfix/P2HybridGroup5NoEssUrbanDelivery

Merge in VECTO/vecto-dev from VECTO/mk_vecto-dev:bugfix/P2HybridGroup5NoEssUrbanDelivery to develop

* commit '9c0699e6': (22 commits)
  DefaultDriverStrategy.HandleRequestEngaged: Added case for ResponseOverload situation: try Coast (fixed the problem at 22km in P2 G5 NoEE UrbanDelivery)
  DefaultDriverStrategy: Added more info to debugData for easier debugging. Reformated code
  GearshiftPositions: Corrected bug for HasPredecessor/HasSuccessor when GearPosition is 0
  DefaultDriverStrategy: Removed unneeded code from previous solution attempts (hamstercode)
  Driver: Code formatting
  IDriverStrategy: Added BrakeTrigger (forgot to include in previous commit)
  GearshiftPosition: reformatting and simplifying check for HasPredecessor and HasSucessor
  Renamed NextBrakeTargetSpeed to NextBrakeTriggerSpeed
  IDriverInfo: Added NextBrakeTriggerSpeed to detect braking to halt
  HybridStrategy: FindBestGearForBraking: added check if targetSpeed is actually 0 when checking for DisengageWhenHaltingSpeed. Otherwise braking below 10 km/h caused problems, because gearbox disengaged.
  typo
  Code formatting
  Driver: removed empty comment
  Driver ApplyLimit DriverAcceleration switched
  formatting
  DefaultDriverStrategy.DoBrake: Added debug variable for response history
  DefaultDriverStrategy.DoCoast: Combined declaration and initialisation
  Refactored if-statements for easier debugging
  code formatting
  HybridStrategy Request Refactored if-statements of nextGear for easier debugging
  ...
parents fbd439ab 9c0699e6
No related branches found
No related tags found
No related merge requests found
Showing
with 245 additions and 338 deletions
Loading
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