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 it works…

After setting up the Arduino, we will go to File | Preferences for configuring the sketchbook folder of Arduino (for example, /home/<user>/Arduino).

You may have noticed a folder called libraries inside the Arduino folder. There, we have to generate ros_lib using a script called make_libraries.py, which is present inside the rosserial_arduino package. The following commands show how to generate ros_lib for Arduino:

ros_lib is the rosserial_client for Arduino, which provides the ROS client APIs inside an Arduino IDE environment.
$ cd ~/Arduino/libraries/
$ rosrun rosserial_arduino make_libraries.py 

The make_libraries.py script will generate a wrapper of the ROS topic and service messages, which are optimized for Arduino data ...

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