-
Notifications
You must be signed in to change notification settings - Fork 60
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
How to specify the state of traffic lights in the scenario? #1236
Comments
Hi, thank you for reporting! Since the traffic light message type differs depending on the version of autoware, it is necessary to appropriately switch the traffic light topic output from the scenario_simulator_v2 side. You can switch it by switching the If nothing is specified, We are aware of this issue and are working on #1232 . |
The user guide provides a scenario for specifying a traffic light using OpenDRIVE as an example. description of TrafficSignalState::state
Autoware uses lanelet2 as its map format instead of OpenDRIVE, so please understand that although it is within the scope of the OpenSCENARIO standard, the specifications are different from the scenario in the user guide, which assumes OpenDRIVE. |
Thank you for your answer @HansRobo |
I am running a scenario using the scenario test runner, and I wonder how to specify the state of traffic lights in the TIER IV Scenario Format Version 2.0. It seems that the scenario simulator v2 does not follow the OpenScenario v1.2 specification.
Below are my scenario and map files, which I used to test traffic light behaviors. The scenario includes a simple ego routing story and sets all traffic lights to red. (I have checked the syntax against other scenario files, though there might be an error.) I expected the ego car to stop at the junction because of the traffic light, but it ignores it and reaches the destination.
The code below is the part related to traffic lights in the scenario file.
The text was updated successfully, but these errors were encountered: