How can I change traffic lights?
When I run the traffic lights in the Gazebo model in simulation, it only lights green. In the work I want to do, the lights need to be changed. How can I do that.
asked 2021-06-19 11:00:07 -0600
This post is a wiki. Anyone with karma >75 is welcome to improve it.
When I run the traffic lights in the Gazebo model in simulation, it only lights green. In the work I want to do, the lights need to be changed. How can I do that.
I suppose it depends on which traffic light model you are using... The only traffic light that I am aware of was in citysim (plugin and world example), which may do what you need but might need some modification for gazebo-11
.
A more involved DIY alternative is to extend the flashlight plugin to have lights cycle in whatever way you want.
Asked: 2021-06-19 11:00:07 -0600
Seen: 483 times
Last updated: Jun 22 '21
Fix Object in Gazebo Simulation after Spawning
How to simulate (floating) particles ?
Gazebo backend (gzserver) CPU hungry during multi-robot simulations
Gazebo real time factor drops in certain areas
Information from Topic Visualization to a text file ?
How to write messages(msgs) to a log file in Gazebo?