Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Robotics using Python

You're reading from   Learning Robotics using Python Design, simulate, program, and prototype an autonomous mobile robot using ROS, OpenCV, PCL, and Python

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781788623315
Length 280 pages
Edition 2nd Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Lentin Joseph Lentin Joseph
Author Profile Icon Lentin Joseph
Lentin Joseph
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with Robot Operating System FREE CHAPTER 2. Understanding the Basics of Differential Robots 3. Modeling the Differential Drive Robot 4. Simulating a Differential Drive Robot Using ROS 5. Designing ChefBot Hardware and Circuits 6. Interfacing Actuators and Sensors to the Robot Controller 7. Interfacing Vision Sensors with ROS 8. Building ChefBot Hardware and the Integration of Software 9. Designing a GUI for a Robot Using Qt and Python 10. Assessments 11. Other Books You May Enjoy

Installing and working with rqt in Ubuntu 16.04 LTS

rqt is a software framework in ROS, which implements various GUI tools in the form of plugins. We can add plugins as dockable windows in rqt.

Installing rqt in Ubuntu 16.04 can be done using the following command. Before installing rqt, ensure that you have the full installation of ROS Indigo.

    $ sudo apt-get install ros-<ros_version>-rqt  

After installing the rqt packages, we can access the GUI implementation of rqt, called rqt_gui, in which we can dock rqt plugins in a single window.

Let's start using rqt_gui.

Run the roscore command before running rqt_gui:

    $ roscore  

Run the following command to start rqt_gui:

    $ rosrun rqt_gui rqt_gui  

We will get the following window if the commands work fine:

Running rqt

We can load and unload plugins at runtime. To analyze the ROS message log, we can load the Console...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image