-
Notifications
You must be signed in to change notification settings - Fork 387
I210 highway updated #934
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
I210 highway updated #934
Conversation
…t/flow into i210-highway-updated
…10-highway-updated
Pull Request Test Coverage Report for Build 6426
💛 - Coveralls |
@eugenevinitsky @kjang96 this PR is ready to be reviewed. Can one/both of you review this? This PR just covers updating the highway network and getting the features for the I-210 subnetwork in here; the actual working version of the I-210, along with the time-space diagram that generate proper plots for it, will be part of a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly nitpicky stuff, the tests look really good, and cover the things I would have manually run
# percentage of autonomous vehicles compared to human vehicles on highway | ||
PENETRATION_RATE = 10 | ||
|
||
# TODO: temporary fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still a TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, this will be part of a future PR probably
net=NetParams( | ||
inflows=inflow, | ||
template=NET_TEMPLATE | ||
template=NET_TEMPLATE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, can you go through and change instances of NET_TEMPLATE and net_template such that they're either all in upper or lower case? I noticed in non_rl/i210_subnetwork.py and non_rl/highway_single.py they're lower
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, they're all upper case now
# speed limit for the ghost edge | ||
"ghost_speed_limit": 25, | ||
# length of the cell imposing a boundary | ||
"boundary_cell_length": 500 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs a more descriptive description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, linked it to the ghost cell description
flow/networks/highway.py
Outdated
* **use_ghost_edge** : whether to include a ghost edge. This edge is | ||
provided a different speed limit. | ||
* **ghost_speed_limit** : speed limit for the ghost edge | ||
* **boundary_cell_length** : length of the cell imposing a boundary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
thanks for the review @kjang96! I've addressed all your comments, and going to merge it now. |
Pull request information
Description
? (general description)