Skip to Content
ROS Programming: Building Powerful Robots
book

ROS Programming: Building Powerful Robots

by Anil Mahtani, Luis Sanchez, Enrique Fernandez, Aaron Martinez, Lentin Joseph
March 2018
Intermediate to advanced content levelIntermediate to advanced
1396 pages
42h 14m
English
Packt Publishing
Content preview from ROS Programming: Building Powerful Robots

Running the face tracker node

Let's launch the start_tracking.launch file from face_tracker_pkg using the following command. Note that you should connect your webcam to your PC:

    $ roslaunch face_tracker_pkg start_tracking.launch

If everything works fine, you will get output like the following; the first one is the original image, and the second one is the face-detected image:

Figure 17: Face-detected image

We have not enabled Dynamixel now; this node will just find the face and publish the centroid values to a topic called /face_centroid.

So the first part of the project is done-what is next? It's the control part, right? Yes, so next, we ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Robots with ROS

Programming Robots with ROS

Morgan Quigley, Brian Gerkey, William D. Smart
Machine Learning Design Patterns

Machine Learning Design Patterns

Valliappa Lakshmanan, Sara Robinson, Michael Munn

Publisher Resources

ISBN: 9781788627436Supplemental Content