eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.5k stars 1.41k forks source link

Assertion triggered in a_costa szenario (trac #503) #503

Closed behrisch closed 6 years ago

behrisch commented 13 years ago

run M:\Daten\Sumo\Bugreports\503_acosta_assertion\debug.sumo.cfg with debug-built sumo

assertion in MSInductLoop.cpp:255

Migrated from http://sumo.dlr.de/ticket/503

{
    "status": "closed", 
    "changetime": "2011-06-28T12:12:36Z", 
    "description": "run ``M:\\Daten\\Sumo\\Bugreports\\503_acosta_assertion\\debug.sumo.cfg`` with debug-built sumo\n\nassertion in MSInductLoop.cpp:255", 
    "reporter": "namdre", 
    "cc": "", 
    "resolution": "fixed", 
    "_ts": "1309263156000000", 
    "component": "simulation general (micro)", 
    "summary": "Assertion triggered in a_costa szenario", 
    "priority": "major", 
    "keywords": "", 
    "time": "2011-05-10T13:54:59Z", 
    "milestone": "0.13.0", 
    "owner": "dkrajzew", 
    "type": "defect"
}
behrisch commented 13 years ago
behrisch commented 13 years ago

@dkrajzew commented:

Two issues:

  • It is not correct to determine the entry time by adding (myPosition - oldPos) / newSpeed to the current simulation second in any case; if a vehicle changes it's lane (probably also if it enters the lane with his front being behind the detector) this is no longer valid. Now I do not add anything if myPosition (detector position) is < than oldPos (old vehicle's front)
  • Induction loops stored the last vehicle that entered them in myCurrentVehicle. The idea was to keep it for collision cases so that it may be removed when a second vehicle enters the detector before the first one leaves. In fact, this situation may happen and is valid for detectors which are near to a lane's boundary - because the vehicle which enters the detector is moved in moveFirstChecked before the one that has to leave the detector. Due to this, I now completely removed the myCurrentVehicle field and the according checks.
behrisch commented 13 years ago