Move the real TurtleBot

There are a number of ways to move the TurtleBot using ROS. In this section, we present the following three methods:

  • Using the keyboard
  • Using ROS terminal window commands
  • Using a Python script

Using keyboard teleoperation to move TurtleBot

In a new terminal window, launch the TurtleBot keyboard teleop program on the remote computer:

$ roslaunch turtlebot_teleop keyboard_teleop.launch

The output is as follows:

... logging to /home/turtlebot/.ros/log/b662ab4a-c22e-11e5-b730-6c71d9a711bd/roslaunch-turtlebot-0428-26633.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://192.168.11.123:58861/
SUMMARY
========

Get ROS Robotics By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.