Author: Jordi Pages < email@example.com >
Maintainer: Jordi Pages < firstname.lastname@example.org >
|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.|
Teleoperating the mobile base with the keyboardDescription: How to move the differential drive base of TIAGo using the key_teleop package.
Keywords: teleoperation, mobile base, key_teleop
Tutorial Level: BEGINNER
Next Tutorial: Move the base through velocity commands
This tutorial shows a way to teleoperate the mobile base of TIAGo using the keyboard. This relies on the ROS package key_teleop which is compatible with most of ROS enabled robots.
First make sure that the tutorials are properly installed along with the TIAGo simulation, as shown in the Tutorials Installation Section.
First open two consoles and source the public simulation workspace as follows:
$ cd ~/tiago_public_ws $ source ./devel/setup.bash
Launching the simulation
In the first console launch for example the following simulation
roslaunch tiago_gazebo tiago_gazebo.launch public_sim:=true robot:=titanium world:=simple_office_with_people
Gazebo will show up with TIAGo in the following world.
In the second console run key_teleop as follows
rosrun key_teleop key_teleop.py
which will transform the appearance of the console into this
Now pressing the up and down arrows will make the robot go forward and backward respectively. Left and right arrows will cause the robot to turn about itself in the corresponding directions.