About ROS Basics in 5 days using python example 3.1, Turtlebot wont move

I created a launch file and a script and I imported all the necessary msgs to move the robot however it does not respond in the simulation, did I miss something I think the launch file is working properly and there are nod errors showing in the terminal

Hi @AmrHamdi97, welcome to the community!

The reason the robot is not moving when you execute your program is because the program never actually publishes a message, it just creates a publisher object. You need to publish after creating the publisher.

I also recommend structuring the node like you’ve probably seen in the previous units, in order to get used to how a publisher should be setup.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.