How to get turtlebot to move in gazebo?
Hi, I am brand new to ROS and have had issues setting up my turtlebot_gazebo to just have the simulated turtlebot move around.
I am just trying to follow this tutorial: http://wiki.ros.org/turtlebot_gazebo/...
But get stuck on Step 2, which is really just getting this http://wiki.ros.org/turtlebot_simulat... to work.
I run
roscore
roslaunch turtlebot_gazebo turtlebot_world.launch
roslaunch turtlebot_rviz_launchers view_robot.launch
Which both work fine.
Then I do
roslaunch turtlebot_teleop keyboard_teleop.launch
However, while my key presses to move the robot appear in the keyboard_teleop.launch terminal window, the robot doesn't move in Rviz.
How do I get my robot to listen to the turtlebot_telop_keyboard/cmd_vel topic if my robot only exists in simulation? Which node is the actual turtlebot?
Do I need to have
roslaunch turtlebot_stage turtlebot_in_stage.launch
be running? Because that gives me an error (Invalid roslaunch XML syntax: [Errno 2] No such file or directory: u'/opt/ros/kinetic/share/turtlebot_navigation/launch/includes/amcl.launch.xml').
Hi, To figure out why the robot does not move, make sure that you are publishing on the correct topic. so start with rostopic list and check if
keyboard_teleop
publishes on the correct topic. could you tell which version of ros you are using indigo or kinetic?Thank you for your prompt response! When I run
I get Node [/turtlebot_teleop_keyboard] Publications: * /cmd_vel_mux/input/teleop [geometry_msgs/Twist] * /rosout [rosgraph_msgs/Log]
So it looks right
I am running Ubuntu 15.10 and my ROS is Kinetic.
Delb's solution actually has it moving now. Thank you anyways though