Book Image

ROS Programming: Building Powerful Robots

By : Anil Mahtani, Aaron Martinez, Enrique Fernandez Perdomo, Luis Sánchez, Lentin Joseph
Book Image

ROS Programming: Building Powerful Robots

By: Anil Mahtani, Aaron Martinez, Enrique Fernandez Perdomo, Luis Sánchez, Lentin Joseph

Overview of this book

This learning path is designed to help you program and build your robots using open source ROS libraries and tools. We start with the installation and basic concepts, then continue with the more complex modules available in ROS, such as sensor and actuator integration (drivers), navigation and mapping (so you can create an autonomous mobile robot), manipulation, computer vision, perception in 3D with PCL, and more. We then discuss advanced concepts in robotics and how to program using ROS. You'll get a deep overview of the ROS framework, which will give you a clear idea of how ROS really works. During the course of the book, you will learn how to build models of complex robots, and simulate and interface the robot using the ROS MoveIt motion planning library and ROS navigation stacks. We'll go through great projects such as building a self-driving car, an autonomous mobile robot, and image recognition using deep learning and ROS. You can find beginner, intermediate, and expert ROS robotics applications inside! It includes content from the following Packt products: ? Effective Robotics Programming with ROS - Third Edition ? Mastering ROS for Robotics Programming ? ROS Robotics Projects
Table of Contents (37 chapters)
Title page
Copyright and Credits
Packt Upsell
Preface
Bibliography
Index

Building 2D and 3D models of the robot body


Chassis design is the next step in designing the robot. We can create the 2D drawing of the robot and then draw a 3D model of it. The only specification need to satisfy is that the robot's base footprint should be circular. Here, we are discussing a drawing that is satisfying this condition. If your requirements are different, you may need to modify your design accordingly. Now let's look at some illustrations of the robot's footprint.

The base plate

Following figure shows the base footprint of our robot:

Figure 1: Base plate of the robot

The preceding figure shows the base footprint of our robot. You can see that it is circular and there are two slots on the left and right for attaching motors and wheels. M1 and M2 are the positions of the motor body, and the shaft will be in the slots. The motors can be put on the top of the plate or on the bottom. Here, we are attaching the motors to the bottom of this plate. The wheels should be inside these two...