Book Image

Learning Robotics Using Python

Book Image

Learning Robotics Using Python

Overview of this book

Table of Contents (19 chapters)
Learning Robotics Using Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Testing of the robot using GUI


We have already discussed how to build a map of the environment using the robot simulation and robot hardware. In this section, we discuss how to command the robot to go into a particular place of the map. A better way to find the position of the robot in each table is to manually drive the robot using teleoperation.

Assuming that ChefBot packages are configured in both the robot's PC and the user's PC, there should be Wi-Fi networks to which both the robot and user PCs can connect and communicate using the IP assigned to each PC. It should be noted that we have to set ROS_MASTER_URI and ROS_IP, as mentioned in Chapter 10, Integration of ChefBot Hardware and Interfacing it into ROS, Using Python.

The following procedure can be used to test the robots that are working in a hotel environment:

  1. Remote login to the robot PC from the user PC using the ssh command. The command is given as follows:

    $ ssh <robot_pc_ip_address>
    
  2. If the room is not mapped yet, we can...