Robot doesn't move but rotate

asked 2020-02-22 02:42:04 -0500

necip gravatar image

updated 2022-03-20 10:04:43 -0500

lucasw gravatar image

Hi, I'm new on ROS, using kinetic version with Ubuntu 16.04 and try to navigate my robot by using robot_navigation.rviz

On RVIZ, i realized that wheel_left_link and wheel_right_link are absent.

wheel_left_link
No transform from [wheel_left_link] to [map]

Actually, this is not error. However when i run below,

rosrun ros_essentials_cpp turtlebot_move.py

it doesn't move but just rotate.

Any help would be greatly appreciated.

edit retag flag offensive close merge delete

Comments

Hi @necip

wheel_left_link
No transform from [wheel_left_link] to [map]

That warning probably comes from the fact that you have in your rviz- -> Global options --> Fixed frame the map frame which does not exist in your set up. Either you change the value of that field to the base_footprint frame of your robot or generate a tf tree like base_footprint --> odom --> map.

The second issue is related with the python code you are using. The main process is just rotating the robot so it is the behaviour you are commanding with that code.

Weasfas gravatar image Weasfas  ( 2020-02-22 07:48:34 -0500 )edit