amodeus-science / amodeus

Autonomous Mobility-on-Demand Extremely Useful Simulation
GNU General Public License v2.0
45 stars 20 forks source link

Dropoff time per passenger #330

Open sebhoerl opened 4 years ago

sebhoerl commented 4 years ago

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:

sebhoerl commented 4 years ago

(Quick fix for Amodeus is to always keep the value to 0.0 for now).