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

Creating CMakeLists.txt

Like the first tracker package, there is no special difference in the control package; the difference is in the dependencies. Here, the main dependency is dynamixel_controllers. We are not using OpenCV in this package, so there's no need to include it:

 cmake_minimum_required(VERSION 2.8.3) project(face_tracker_control) find_package(catkin REQUIRED COMPONENTS dynamixel_controllers roscpp rospy std_msgs message_generation ) find_package(Boost REQUIRED COMPONENTS system) add_message_files( FILES centroid.msg ) ## Generate added messages and services with any dependencies listed here generate_messages( DEPENDENCIES std_msgs ) catkin_package( CATKIN_DEPENDS dynamixel_controllers roscpp rospy std_msgs ) include_directories( ...
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