Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support all vehicles file #65

Merged
merged 5 commits into from
Oct 26, 2022
Merged

Support all vehicles file #65

merged 5 commits into from
Oct 26, 2022

Conversation

KasiaKoz
Copy link
Contributor

@KasiaKoz KasiaKoz commented Oct 25, 2022

Following @fredshone's advice here: https://github.com/arup-group/BitSim/pull/130#issuecomment-1287056487 I added support for all vehicles file which will allow its' use with bitsim (https://github.com/arup-group/BitSim/pull/130#issuecomment-1286919046)

Context: through the vehicles file we can set speeds for different mode vehicles, e.g. bike and walk (agents walking on the network also need a 'walk vehicle') (we still use the transit vehicles file or PT as usual)

The main complication with this was that we don't use the all_vehicles.xml file right now and would like that to still be possible. For that I needed to add an optional tag to some methods, as you will see below.

Got a couple of bitsim tests here:

Copy link
Contributor

@rorysedgwick rorysedgwick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

Copy link
Contributor

@fredshone fredshone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice job. All bases covered.

@KasiaKoz KasiaKoz merged commit fed8d4b into main Oct 26, 2022
@KasiaKoz KasiaKoz deleted the lab-1916-add-all-vehicles-file branch October 26, 2022 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants