O'Reilly logo

ROS Robotics By Example by Dr. Thomas L. Harman, Carol Fairchild

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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
========

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required