Gazebo | Ignition | Community
Ask Your Question
0

How can I change traffic lights?

asked 2021-06-19 11:00:07 -0500

this post is marked as community wiki

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-22 13:54:42 -0500

shonigmann gravatar image

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.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2021-06-19 11:00:07 -0500

Seen: 44 times

Last updated: Jun 22