I want to know if it is possible to control traffic lights in carla using scenic as I am not sure if this is possible.
I am new to how Scenic works and would appreciate any help.
I want to know if it is possible to control traffic lights in carla using scenic as I am not sure if this is possible.
I am new to how Scenic works and would appreciate any help.
It’s possible in principle, but probably not through a built-in Scenic traffic-light primitive. In the CARLA integration, traffic lights are CARLA actors; Scenic can drive the simulation, and you can expose a small Python helper—e.g. an external action or parameter—that looks up the TrafficLight actor and calls CARLA’s set_state/set_green_time APIs. For scenario logic, trigger that helper from Scenic at the times or conditions you need. Check the Scenic CARLA interface version you’re using, since external-action support and naming can vary.