Dropoff time per passenger
The av extension now supports separate definitions for "dropoff time per stop" and "dropoff time per passenger". Currently, Amodeus is not capable of working with the latter. The problem is easy to replicate if one sets "dropoffDurationPerPassenger" in testScenario/full_config.xml to a value larger than 0.0.
Then, any shared (not unit) dispatcher will fail eventually when the SharedRoboTaxiTest is run. I assume the error originates from SharedUniversalDispatcher::exexuteDropoffs. Need to check further what is happening there (certainly, only the dropoff time per stop is used for something) and compare how things are done in the unit case.
I guess this also raises the question what happens when an agent is "late" for pickup, as this seems to be the opposite problem. Unfortunately, we don't have a unit test yet where an agent is late. Need to add this.
To do:
- [ ] Look into dropoff time per passenger and shared dispatchers
- [ ] Write unit test where an agent is late for pickup in unit/shared case
(Quick fix for Amodeus is to always keep the value to 0.0 for now).