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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Robotics using Python

You're reading from   Learning Robotics using Python Bring robotics projects to life with Python! Discover how to harness everything from Blender to ROS and OpenCV with one of our most popular robotics books.

Arrow left icon
Product type Paperback
Published in May 2015
Publisher Packt
ISBN-13 9781783287536
Length 330 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Introduction to Robotics FREE CHAPTER 2. Mechanical Design of a Service Robot 3. Working with Robot Simulation Using ROS and Gazebo 4. Designing ChefBot Hardware 5. Working with Robotic Actuators and Wheel Encoders 6. Working with Robotic Sensors 7. Programming Vision Sensors Using Python and ROS 8. Working with Speech Recognition and Synthesis Using Python and ROS 9. Applying Artificial Intelligence to ChefBot Using Python 10. Integration of ChefBot Hardware and Interfacing it into ROS, Using Python 11. Designing a GUI for a Robot Using Qt and Python 12. The Calibration and Testing of ChefBot Index

Working with ChefBot's control GUI


After completing the Hello World application in PyQt, next we can discuss a GUI for controlling ChefBot. The main use of building a GUI is to create an easier way to control the robot, for example, if the robot is deployed in a hotel to serve food, the person who controls this robot need not have knowledge about the complex commands to start and stop this robot; so building a GUI for ChefBot can reduce the complexity and make it easier for the user. We are planning to build a GUI using PyQt, ROS and Python interface. The ChefBot ROS package is available on GitHub on the following link:

https://github.com/qboticslabs/Chefbot_ROS_pkg.git

If you haven't cloned the code yet, you can do it now using following command:

$ git clone https://github.com/qboticslabs/Chefbot_ROS_pkg.git

The GUI code named robot_gui.py is placed in the scripts folder, which is inside the chefbot_bringup package.

The following screenshot shows the GUI that we have designed for ChefBot...

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