Moving the real TurtleBot 2
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 2
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/harman/.ros/log/87ca9e6a-3c0c-11e7-a3ba-6c71d9a711bd/roslaunch-D104-45931-5873.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. started roslaunch server http://192.168.11.139:43506/ SUMMARY ========
Get ROS Robotics By Example - Second Edition 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.