Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

Moving the robot

The differential drive plugin of the robot is capable of receiving ROS Twist messages (geometry_msgs/Twist), which consist of the current linear and angular velocities of the robot. The teleoperation of the robot means moving the robot manually using a joy stick or keyboard by using ROS Twist messages. We will now look at how to move the Turtlebot 2 robot using keyboard teleoperation.

We have to install a package to teleoperate the TurtleBot 2 robot. The following command will install the TurtleBot teleoperation package:

    $ sudo apt-get install ros-kinetic-turtlebot-teleop  

To start teleoperation, we have to start the Gazebo simulator first, and then start the teleoperation node using the following command:

    $ roslaunch turtlebot_teleop ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content