Note: This tutorial assumes that you have completed the previous tutorials: App Manager. |
![]() |
Turtlebot-QT Pairing
Description: Pairing your qt app with turtlebot applications.Keywords: turtlebot android
Tutorial Level: BEGINNER
Overview
This tutorial will get you started using the existing qt-robot application suites so that you can take your turtlebot on a date!
Prepare the TurtleBot
Ensure turtlebot is brought up via rocon_launch in pairing mode as documented in turtlebot_bringup.
> roslaunch turtlebot_bringup minimal.launch
Make sure you have ROS_HOSTNAME, or ROS_IP configured correctly as described in the network configuration tutorial, or else connections will fail. On indigo, the rocon remocon will now display a message in fine print next to the robot icon trying to connect these variables set.
Preparation
Install turtlebot_apps, turtlebot_interactions, and rocon_qt_gui.
> sudo apt-get install ros-indigo-turtlebot-apps > sudo apt-get install ros-indigo-turtlebot-interactions > sudo apt-get install ros-indigo-rocon-qt-gui
Connect to the TurtleBot
- Launch the "Rocon Remocon" from terminal
# At terminal > rocon_remocon
- Click "Add a robot"
- There are required variables(ROS_MASTER_URI, ROS_HOSTNAME) for connecting to the robot.
Select your TurtleBot.
- Click on Chirp
You should hear the TurtleBot moo. If you don't, check your network connectivity.
- There are two battery indicators in the top right, for robot and laptop.
- There are a bunch of other apps built in which will work as distributed. Some of them (e.g. Chirp) are just executed on the robot, so from your device you can only start/stop them. Others (most of them) will start an app in the robot and a client on the device. If one of those apps is not installed, the Robot Remocon will redirect you to the Play Store to download it.
- Some of the apps up now are:
- Android Teleop controls the robot with a joystick interface on the touch screen.
Follower will launch the TurtleBot in turtlebot_follower/Tutorials/Demo mode.
Make a map and navigate a map allow you to redo what you learned on turtlebot navigation tutorials with an Android device instead of a workstation.
- Autodocking will make the robot look from its docking base and connect to it automatically.