Step 8 – Building the controller

After completing CMakeLists.txt, we can build our controller using the catkin_make command. After building, check that the controller is configured as a plugin using the rospack command, as shown here:

$ rospack plugins --attrib=plugin controller_interface  

With this command, all the controllers related to controller_interface will be listed.

If everything has been performed correctly, the output may look like 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.