Book Image

Learning Robotics using Python - Second Edition

By : Lentin Joseph
Book Image

Learning Robotics using Python - Second Edition

By: Lentin Joseph

Overview of this book

Robot Operating System (ROS) is one of the most popular robotics software frameworks in research and industry. It has various features for implementing different capabilities in a robot without implementing them from scratch. This book starts by showing you the fundamentals of ROS so you understand the basics of differential robots. Then, you'll learn about robot modeling and how to design and simulate it using ROS. Moving on, we'll design robot hardware and interfacing actuators. Then, you'll learn to configure and program depth sensors and LIDARs using ROS. Finally, you'll create a GUI for your robot using the Qt framework. By the end of this tutorial, you'll have a clear idea of how to integrate and assemble everything into a robot and how to bundle the software package.
Table of Contents (12 chapters)

Creating a simulation of Chefbot

We have seen how the turtlebot simulation works. In this section, we will be looking at how to create our own robot simulation using Gazebo.

Before we start discussing this subject, you should copy the chefbot_gazebo package to your catkin workspace and enter catkin_make to build the package. Make sure you have two packages in your workspace, one called chefbot_description and the other called chefbot_gazebo. The chefbot_gazebo package contains a simulation-related launch file and parameters, and chefbot_description has the robot's URDF model, along with its simulation parameters, and the launch file that is used to view the robot in Rviz and Gazebo.

Let's begin creating our Chefbot model in Gazebo so that you can familiarize yourself with the procedure. After that, we will dig deep into the xacro file and can look at the simulation parameters...