Note: This tutorial assumes that you have completed the previous tutorials: Joystick Teleop.
(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Interactive Markers Teleop

Description: A tutorial describing how to use rviz interactive markers for controlling the TurtleBot.

Tutorial Level: BEGINNER

Introduction

TurtleBot interactive markers are an alternative way to control your TurtleBot. They allow you to teleoperate the robot from rviz.

Running the Marker Server

Do these steps on the PC, not the TurtleBot laptop for best performance. First, make sure you have the package installed:

> sudo apt-get install ros-hydro-turtlebot-interactive-markers

Then launch the turtlebot_marker_server, which will host an interactive_markers server.

> roslaunch turtlebot_interactive_markers interactive_markers.launch

Running rviz

Next, start up a copy of rviz displaying the marker topics. On the PC, type:

> roslaunch turtlebot_rviz_launchers view_robot.launch

Interact!

Check the "Interactive Makers" display component and select the "Interact" tool in the tool palette on the top of the screen (shown below) to bring up the interactive markers for the turtlebot.

turtlebot_interactive_markers.png

You can now drag the red arrows to drive the TurtleBot forward and backward, and the blue ring to rotate the TurtleBot. You can also drag the blue ring to both rotate and translate the TurtleBot at the same time.

Video

What Next?

Wiki: turtlebot_interactive_markers/Tutorials/hydro/UsingTurtlebotInteractiveMarkers (last edited 2013-11-06 09:08:07 by MarcusLiebhardt)