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
OSM monthly conditional speed limits support #618
Conversation
Do you have the way id of a road with a monthly speed limit? I'd like to create some tests for parsing the speed limits. |
Here are two sample way id-s with monthly speed limits: 363155579 and 241765616 |
In Germany the conditional speeds are different. Limiting them by time should only be done for that specific country. |
I think it would make sense to add support for other OSM maxspeed conditions which are used on the map and which openpilot can use for setting the ACC speed limit @arne182 can you please provide some way id-s from Germany with different conditional speed limits |
What you might be looking for is maxspeed:seasonal:winter from here https://cdn.discordapp.com/attachments/533308698077036551/576845064274444308/imago62881833h.jpg maxspeed:backward=100 I have not found a way id that uses this. I just know my RSA can read the signs and when we finish writing the street sign recorder this will be one of the signs to be picked up on German roads. If you want I could run through all the conditional signs on my Toyota RSA |
I did some overpass queries (http://overpass-turbo.eu/s/IUQ) to get an overview of different maxspeed subtags being used in OSM in different parts of the world:
@arne182, you are welcome to implement support for additional tags and do a separate PR, since current PR only applies to maxspeed:conditional. I think forward, backward and wet tags would need additional data and logic to decide which speed limit condition currently applies. Implementing maxspeed:seasonal:winter tag would need either manual toggle in UI or some other definition of winter |
mapd was removed from openpilot 0.5.13, so going to close this. |
Adds support for OSM monthly conditional speed limits eg. maxspeed:conditional=110 @ Apr-Oct
Most major highways here have higher speeds during summer months and also OSM conditional speed limits defined.
Ref: https://wiki.openstreetmap.org/wiki/Conditional_restrictions#Condition
Martin