sumo icon indicating copy to clipboard operation
sumo copied to clipboard

access running statistics of tripinfo device

Open namdre opened this issue 3 years ago • 1 comments

using traci.vehicle.getParameter("device.tripinfo.X") for all the attributes X being collected that are not retrievable otherwise

  • depart
  • departLane
  • departPos
  • departSpeed
  • departDelay
  • duration
  • stopTime
  • rerouteNo

namdre avatar Aug 09 '22 13:08 namdre

an alternative way for solving #9891 would be to cache these values (including arrival values) in the tripinfo-device for 1 extra simulation step and make them available via the parameter api even after the vehicle has been destroyed.

namdre avatar Aug 09 '22 13:08 namdre