ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

av3006's profile - activity

2021-09-13 10:56:33 -0500 marked best answer Ros PLUGINLIB_EXPORT_CLASS error

Error Message:

[ERROR] [1529093425.848827730]: Exception while loading planner 'ompl_interface/OMPLPlanner': Failed to load library /opt/ros/kinetic/lib/libmoveit_ompl_planner_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libmoveit_planning_interface.so.0.9.12: cannot open shared object file: No such file or directory)
Available plugins: ompl_interface/OMPLPlanner

I believe my macro matches my xml file:

Macro:

#include <pluginlib/class_list_macros.h>
PLUGINLIB_EXPORT_CLASS(vs060A1_AV6_NNN_NNN_manipulator_kinematics::IKFastKinematicsPlugin, kinematics::KinematicsBase);

XML:

<?xml version='1.0' encoding='ASCII'?>
<library path="lib/libvs060A1_AV6_NNN_NNN_kinematics_lib">
  <class name="vs060A1_AV6_NNN_NNN_manipulator_kinematics/IKFastKinematicsPlugin" type="vs060A1_AV6_NNN_NNN_manipulator_kinematics::IKFastKinematicsPlugin" base_class_type="kinematics::KinematicsBase">
    <description>IKFast61 plugin for closed-form kinematics</description>
  </class>
</library>

I also find it very weird that it then lists it as an available plugin at the bottom of the error message.

Im on kinetic 16.04

2020-12-18 13:39:07 -0500 marked best answer CMake Error include dir 'include' does not exist relative

I am using ros kinetic on ubuntu 16.04

After setting up the environment and installing all dependencies using rosdep from the root I am running catkin_make and getting error:

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:302 (message):
  catkin_package() include dir 'include' does not exist relative to
  '/home/cerlab/Documents/depowder_summer_2018/src/cam_kinect'
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  cam_kinect/CMakeLists.txt:83 (catkin_package)


-- Configuring incomplete, errors occurred!
See also "/home/cerlab/Documents/depowder_summer_2018/build/CMakeFiles/CMakeOutput.log".
See also "/home/cerlab/Documents/depowder_summer_2018/build/CMakeFiles/CMakeError.log".
Makefile:3118: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

The CMakeLists.txt file for my cam_kinect starting at line 80 is as follows:

## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
 INCLUDE_DIRS include
#  LIBRARIES cam_kinect
 CATKIN_DEPENDS roscpp sensor_msgs std_msgs roslib message_runtime
 DEPENDS Boost PCL
)

Also my ros environment:

ROS_ROOT=/opt/ros/kinetic/share/ros
ROS_PACKAGE_PATH=/home/cerlab/Documents/depowder_summer_2018/src:/opt/ros/kinetic/share
ROS_MASTER_URI=http://localhost:11311
ROS_VERSION=1
ROSLISP_PACKAGE_DIRECTORIES=/home/cerlab/Documents/depowder_summer_2018/devel/share/common-lisp
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
2019-01-31 10:09:23 -0500 received badge  Taxonomist
2018-10-22 17:46:29 -0500 received badge  Famous Question (source)
2018-08-24 17:08:01 -0500 received badge  Famous Question (source)
2018-08-24 17:08:01 -0500 received badge  Notable Question (source)
2018-07-27 11:08:12 -0500 received badge  Notable Question (source)
2018-06-27 15:44:48 -0500 received badge  Popular Question (source)
2018-06-23 00:39:54 -0500 received badge  Popular Question (source)
2018-06-22 13:34:09 -0500 asked a question CMake Error include dir 'include' does not exist relative

CMake Error include dir 'include' does not exist relative I am using ros kinetic on ubuntu 16.04 After setting up the e

2018-06-20 22:41:03 -0500 received badge  Supporter (source)
2018-06-15 16:44:14 -0500 asked a question Ros PLUGINLIB_EXPORT_CLASS error

Ros PLUGINLIB_EXPORT_CLASS error Error Message: Available plugins: ompl_interface/OMPLPlanner I believe my macro matche