Skip to content

Conversation

kevin-thankyou-lin
Copy link
Contributor

Pull request information

  • Status: Ready to merge
  • Kind of changes: Bug fix / Documentation
  • Related PR or issue: ? (optional)

Description

Updated import modules, fixed typos and removed a version dependent inflow parameter for departure_speed (speedLimit).

@eugenevinitsky
Copy link
Member

Question, is it not possible to set a fixed departure speed?

@coveralls
Copy link

coveralls commented Oct 7, 2019

Pull Request Test Coverage Report for Build 4596

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 90.914%

Totals Coverage Status
Change from base Build 4583: 0.0%
Covered Lines: 9205
Relevant Lines: 10125

💛 - Coveralls

@kevin-thankyou-lin
Copy link
Contributor Author

kevin-thankyou-lin commented Oct 8, 2019 via email

@eugenevinitsky
Copy link
Member

You can also just push another commit to this PR!

"- `depart_speed`: this parameter lets you specify the speed at which the vehicles will enter the network. It should be a positive `float`, in meters per second. If this speed is unsafe, the departure of the vehicles is delayed. Just like for `depart_lane`, there are other options for this parameter, which are the following strings:\n",
"\n",
" - `\"random\"`: vehicles enter the edge with a random speed between 0 and the speed limit on the edge. The entering speed may be adapted to ensure that a safe distance to the leading vehicle is kept\n",
" - `\"speedLimit\"`: vehicles enter the edge with the maximum speed that is allowed on this edge. If that speed is unsafe, the departure is delayed.\n",
Copy link
Member

Choose a reason for hiding this comment

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

don't delete this. replace "speedLimit" with "max", see: https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html

Copy link
Member

@AboudyKreidieh AboudyKreidieh left a comment

Choose a reason for hiding this comment

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

Other than comment this LGTM

@kevin-thankyou-lin
Copy link
Contributor Author

kevin-thankyou-lin commented Oct 8, 2019 via email

…eparture speed as a constant"

This reverts commit 77ebb92.
@kevin-thankyou-lin
Copy link
Contributor Author

Made the changes!

@eugenevinitsky
Copy link
Member

Thanks Kevin!

Copy link
Member

@eugenevinitsky eugenevinitsky left a comment

Choose a reason for hiding this comment

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

LGTM

@eugenevinitsky eugenevinitsky merged commit 84a7249 into master Oct 12, 2019
@eugenevinitsky eugenevinitsky deleted the kevin-tutorials branch October 12, 2019 19:12
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.

4 participants