I am following the free live class based on Duckietown : ROS Developers LIVE-Class #30
The UI shown in the video is very different then the present studio i.e. there is no way to launch the main.launch directly from the UI. So, we have to launch it manually.
I did following steps.
1.roslaunch duckietown_gazebo main.launch → this launches gazebo simulation with the duckieworld
2.roslaunch duckietown_gazebo spawn_duckbot.launch → this spawns the duckiebot robot .
3.as shown in the video I gave following commands to move the robot.
rostopic pub -1 /robot1/cmd_vel geometry_msgs/Twist “linear:
However, the robot is not moving whereas in the video the robot moves if we publish to cmd_vel.
One interesting thing is that if I spawn the same robot in some other world and publish to cmd_vel then the robot moves.
why is not moving in the duckietown simulation? Please let me know?