Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks to @geoff's suggestion, I managed to solve the problem. Instead of entering

 roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch 
 ./red_light_green_light.py cmd_vel:=cmd_vel_mux/input/teleop

I needed to publish to a different topic. The problem was solved by typing

roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch 
./red_light_green_light.py cmd_vel:=cmd_vel