Step 7 – Building and loading plugins

After creating these files, build a package using catkin_make. If the build is successful, we can load the plugin in RViz itself. Take the RViz and load the panel by going to Menu Panel | Add New Panel. We will get a panel such as the following:

If we load the Teleop plugin from the list, we will get a panel such as the following:

We can put the Teleop Topic name and values inside the Linear Velocity and Angular Velocity, and we can echo the Teleop Topic and get the topic values such as the following:

Get Mastering ROS for Robotics Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.