Creating the MoveIt! IKFast plugin

Creating a MoveIt! IKFast plugin is quite easy. There is no need to write code; everything can be generated using some tools. The only thing we need to do is to create an empty ROS package. The following is the procedure to create a plugin:

  1. Create an empty package in which the name should contain the robot name and model number. This package is going to convert into the final plugin package, using the plugin generation tool:
$ catkin_create_pkg abb_irb6640_moveit_plugins
  1. Then, build the workspace by using the catkin_make command. You can also download the ROS package from here:
$ git clone https://github.com/jocacace/abb_irb6640_moveit_plugins.git
  1. After building the workspace, copy ikfast.h to abb_irb6640_moveit_plugins/include ...

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.