matsim-org/matsim-code-examples

How to get the real-time vehicle's location data?

Opened this issue · 0 comments

I want to utilize matsim to make a robotaxi simulation scenario to verify the effectiveness of my vehicle fleet scheduling algorithm. I used the official maas scenario, I want to output the real-time location and state of the vehicles in the simulation scenario, and then use my own designed scheduling algorithm to calculate the next optimal destination of the vehicles, and then feed them back to matsim to continue the simulation. Now I'm in some trouble: 1) I don't know how to get the real-time vehicle's location data; 2) I don't know what kind of data I should feed to matsim and how to feed the data. I'm a newbie in using matsim and I'd really appreciate some help.