Writing a RViz plugin for teleoperation

In this chapter, we design a teleoperation commander in which we can manually enter the teleoperation topic, linear velocity, and angular velocity, as shown in the following:

Writing a RViz plugin for teleoperation

Figure 7: RViz teleop plugin

The following is a detailed procedure to build this plugin.

Methodology of building RViz plugin

Before starting to build this plugin, we should know how to do it. The standard method to build a ROS plugin is applicable for this plugin too. The difference is that the RViz plugin is GUI based. The RViz is written using a GUI framework called Qt, so we need to create a GUI in Qt, and using Qt APIs, we have get the ...

Get Mastering ROS for Robotics Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.