Skip to content

faq 297566221

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

PT vehicle creation

by Ecaterina McCormick on 2018-06-29 14:17:27


Hi,

I am currently experiencing a strange behaviour with one of the PT modes.

The transit and vehicles files define vehicles ids, routes and schedules for a new pt service. (e.g. "ride")

When a person's plan is set to use the "ride" service, the agent is not using the vehicle defined in the the vehicles.xml file but creates a new one with the same id as the agent. The route is also not a "ride" route.

Can anybody explain what is causing this behaviour?

Thank you,

Ecaterina


Comments: 1


Re: PT vehicle creation

by Kai Nagel on 2018-08-05 13:28:24

Oh I think that it will not work in the way you describe. The pt mechanics only works correctly, I think, if the mode in the plans file is "pt". Inside the pt mechanics, you can have arbitrary vehicles (in the transit schedule).

Does this help?

Clone this wiki locally