Skip to Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

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

Building and working with the plugin

We can build the plugin by invoking catkin_make from the top level folder as usual. Once the RViz plugin is compiled and exported, we will simply run rviz normally and rviz will use pluginlib to find all the plugins exported to it:

$ rosrun rviz rviz

The output is shown in the following screenshot: 

RViz adding the IMU plugin

We will add ImuDisplay by clicking the Add button at the bottom of the Displays panel, as shown in the preceding screenshot. Since we are working in a simulated environment and do not have an IMU or another source of sensor_msgs/Imu messages, we can even verify the plugin with a Python ...

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

Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781783987443Supplemental Content