-
Notifications
You must be signed in to change notification settings - Fork 378
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
add sumo option of traffic scale in visualizing #898
base: master
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 5617
💛 - Coveralls |
@@ -395,6 +395,7 @@ class SimParams(object): | |||
|
|||
def __init__(self, | |||
sim_step=0.1, | |||
scale=1.0, |
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.
Hi, could you add an explanation of what this does to the docstring?
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.
Sure thing, done :)
@@ -573,6 +575,7 @@ class SumoParams(SimParams): | |||
def __init__(self, | |||
port=None, | |||
sim_step=0.1, | |||
scale=1.0, |
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:)
@eugenevinitsky Hi, is there any issue with this snippet? |
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.
LGTM. Thank you!
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.
Where is scale actually passed to SUMO?
Hi, it's been a while and I can't recall. But it's an official option of sumo as shown here |
as the title