-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting Guide: Jaco SDK Error
Bug: Upon running catkin_make in the "Build and Test" step, the following error occurs:
CMakeFiles/jaco_arm_trajectory_node.dir/src/jaco_arm_trajectory_node.cpp.o: In function
jaco::JacoArmTrajectoryController::JacoArmTrajectoryController(ros::NodeHandle, ros::NodeHandle)': jaco_arm_trajectory_node.cpp:(.text+0x1441): undefined reference toSetGravityVector' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSetTorqueControlType' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSwitchTrajectoryTorque' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSetGravityOptimalZParam' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSetTorqueRobotProtection' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSendAngularTorqueCommand' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSetTorqueSafetyFactor' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSetGravityType' /home/zach/vector_ws/devel/lib/libkinova_utils.so: undefined reference toSetTorqueVibrationController' collect2: error: ld returned 1 exit status make[2]: *** [/home/zach/vector_ws/devel/lib/wpi_jaco_wrapper/jaco_arm_trajectory_node] Error 1 make[1]: *** [wpi_jaco_wrapper/CMakeFiles/jaco_arm_trajectory_node.dir/all] Error 2 make: *** [all] Error 2
Solution: There might be a previous version of the jaco-sdk installed on your machine which is causing this problem. You can remove the ros-indigo-jaco-sdk pakage as: sudo apt-get remove ros-indigo-jaco-sdk. Do a clean build after that.