Custom IKFast Plugin Not Found
I'm running rolling on ubuntu 22.04 and have followed the tutorial here to create a custom IKFast plugin.
The plugin appears to be created properly and my kinematics.yaml file is appropriately updated:
Running /home/john/floyd2_ws/install/moveit_kinematics/lib/moveit_kinematics/create_ikfast_moveit_plugin.py "floyd" "floyd_arm" "floyd_floyd_arm_ikfast_plugin" "arm_base_link" "claw_palm" "/tmp/ikfast.KVsrLY/.openrave/kinematics.56100e0aa87ac8c4b7bff0d7b6dd20b9/ikfast0x10000049.Translation3D.0_1_2_f3_4.cpp"
Creating IKFastKinematicsPlugin with parameters:
robot_name: floyd
base_link_name: arm_base_link
eef_link_name: claw_palm
planning_group_name: floyd_arm
ikfast_plugin_pkg: floyd_floyd_arm_ikfast_plugin
ikfast_output_path: /tmp/ikfast.KVsrLY/.openrave/kinematics.56100e0aa87ac8c4b7bff0d7b6dd20b9/ikfast0x10000049.Translation3D.0_1_2_f3_4.cpp
search_mode: OPTIMIZE_MAX_JOINT
srdf_filename: floyd.srdf
robot_name_in_srdf: floyd
moveit_config_pkg: floyd_moveit_config
Found source code generated by IKFast version 73
Failed to find package: floyd_floyd_arm_ikfast_plugin. Will create it in /home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin.
Created package.xml at: '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/package.xml'
Create parameters.yaml at: '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/src/ikfast_kinematics_parameters.yaml'
Created ikfast header file at '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/include/ikfast.h'
Created ikfast plugin file at '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/src/floyd_floyd_arm_ikfast_moveit_plugin.cpp'
Created plugin definition at '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/floyd_floyd_arm_moveit_ikfast_plugin_description.xml'
Created cmake file at '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/CMakeLists.txt'
Wrote package.xml at '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/package.xml'
Created update plugin script at '/home/john/floyd2_ws/src/floyd_floyd_arm_ikfast_plugin/update_ikfast_plugin.sh'
Modified kinematics.yaml at '/home/john/floyd2_ws/install/floyd_moveit_config/share/floyd_moveit_config/config/kinematics.yaml'
However, after rebuilding my workspace (and sourcing install/setup.bash) I run into this error message when I launch the move_group.launch.py
[move_group-1] [ERROR] [1672685399.295029206] [kinematics_plugin_loader]: The kinematics plugin (floyd_floyd_arm/IKFastKinematicsPlugin) failed to load. Error: According to the loaded plugin descriptions the class floyd_floyd_arm/IKFastKinematicsPlugin with base class type kinematics::KinematicsBase does not exist. Declared types are cached_ik_kinematics_plugin/CachedKDLKinematicsPlugin cached_ik_kinematics_plugin/CachedSrvKinematicsPlugin kdl_kinematics_plugin/KDLKinematicsPlugin lma_kinematics_plugin/LMAKinematicsPlugin prbt_manipulator/IKFastKinematicsPlugin srv_kinematics_plugin/SrvKinematicsPlugin
moveit setup assistant also doesn't recognize the plugin.
Is there another step I need to perform?
Asked by madgrizzle on 2023-01-02 13:54:17 UTC
Comments