Book Image

Learning ROS for Robotics Programming Second Edition

Book Image

Learning ROS for Robotics Programming Second Edition

Overview of this book

Table of Contents (27 chapters)
Learning ROS for Robotics Programming Second Edition
Credits
About the Author
Acknowledgments
About the Author
Acknowledgments
About the Author
Acknowledgments
About the Author
Acknowledgments
About the Reviewer
About the Reviewer
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we have given an overview of the Computer Vision tools provided by ROS. We started by showing how we can connect and run several types of cameras, particularly FireWire and USB ones. The basic functionality to change their parameters was presented, so now you can adjust certain parameters to obtain images of good quality. Additionally, we provided a complete USB camera driver example.

Then, we showed how you can calibrate the camera. The importance of calibration is the ability to correct the distortion of wide-angle cameras, particularly cheap ones. Also, the calibration matrix allows you to perform many Computer Vision tasks, such as visual odometry and perception.

We showed how you can work with stereo vision in ROS and how you can set up an easy solution with two inexpensive webcams. We also explained the image pipeline, several APIs that work with Computer Vision in ROS, such as cv_bridge, image_transport, and the integration of OpenCV within ROS packages.

Finally...