OpenSimulationInterface / open-simulation-interface

A generic interface for the environmental perception of automated driving functions in virtual scenarios.
Other
267 stars 125 forks source link

Add Speed Limit to Lane, similarly to OpenDRIVE #606

Open mander76 opened 2 years ago

mander76 commented 2 years ago

Describe the feature

In OpenDRIVE, you can easily add a speedlimit to a road, however it is not possible (as far as I have found) to relay this information in OSI.

The only way I have found right now is to add a traffic sign and assign it to all possible lanes. But then you still cannot find the information in the lane itself.

Describe the solution you would like

A suggestion to add is to add a max speed limit to the Lane::Classification as a double

Describe alternatives you have considered

Add a repeated field to in the Lane to what traffic signs are assigned to it.

Describe the backwards compatibility

Since it's just an addition of non optional fields it should not have any impact on backwards compability

Additional context

clemenshabedank commented 2 years ago

Discussion in the RoadModel group (9.5.2022): Could be a valid use case for traffic participants. @lemmer-fzi will take it into the new proposal for versions >v3.5. Might make sense to introduce this inside logical lanes which got recently introduced.

thomassedlmayer commented 1 year ago

Discussion Harmonization/Other Models WG (2023/07/17): Should this issue still be discussed for the next OSI version? We also found that default speed limits (like town or Autobahn speed limits) can not be represented. Is anyone still interested in this topic? @tbleher @lemmer-fzi @mander76 @adrianschultz