Skip to Main Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced content levelIntermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

How to do it…

  1. Create an actionlib_tutorials package with the following dependencies or download it from the GitHub repository (https://github.com/kbipin/Robot-Operating-System-Cookbook):
$ cd <workspace>/src 
$ catkin_create_pkg actionlib_tutorials actionlib message_generation roscpp rospy std_msgs actionlib_msgs 
  1. First, define the action which consists of goal, result, and feedback messages. These are generated automatically from the .action file.
  2. Create an actionlib_tutorials/action/Fibonacci.action file with the following contents:
#goal definition 
int32 order 
--- 
#result definition 
int32[] sequence 
--- 
#feedback 
int32[] sequence 
  1. To automatically generate the message files during the creation process, the following elements need to ...
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

Advanced Robotic Vehicles Programming: An Ardupilot and Pixhawk Approach

Advanced Robotic Vehicles Programming: An Ardupilot and Pixhawk Approach

Julio Alberto Mendoza-Mendoza, Victor Javier Gonzalez-Villela, Gabriel Sepulveda-Cervantes, Mauricio Mendez-Martinez, Humberto Sossa-Azuela
Effective Robotics Programming with ROS - Third Edition

Effective Robotics Programming with ROS - Third Edition

Anil Mahtani, Luis Sánchez, Enrique Fernández, Aaron Martinez
Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal

Publisher Resources

ISBN: 9781783987443Supplemental Content