Hi...
I tried to install moveit / kinetic. I follow Source Install Tutorial from http://moveit.ros.org/install/source/ ,
but include file and llibrary not installed on my system
on my program .cpp
"#include
--> give error : unresolved inclusion.
if I copy the header file to correct location, on build time i got:
undefined reference to `moveit::planning_interface::MoveGroupInterface::MoveGroupInterface
Looks like the move_group_interface not installed.
Same thing happen with planning_scene_interface (on moveit_ros too).
But other package on moveit_core is OK.
Please help how to install moveit from source.
Thanks.
**Update:**
This is my CMakeLists.txt
cmake_minimum_required(VERSION 2.8.3)
project(robin_001)
find_package(catkin REQUIRED COMPONENTS
cmake_modules
cv_bridge
image_transport
roscpp
sensor_msgs
std_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
)
${catkin_EXPORTED_TARGETS})
add_definitions(
-std=c++11
)
include_directories(
$ENV{OPENNI2_INCLUDE}
/usr/local/include #for realsense
)
link_directories(
$ENV{OPENNI2_REDIST}
/usr/local/lib #for realsense
)
link_libraries(
-lOpenNI2
-lrealsense
)
find_package(Eigen REQUIRED)
include_directories(SYSTEM ${Boost_INCLUDE_DIR} ${EIGEN_INCLUDE_DIRS})
add_executable(Robin001
src/ArmControl.cpp
src/ArmPosition.cpp
src/Calibration.cpp
src/Cam2World.cpp
src/ColorTracking.cpp
src/MarkPointDetector.cpp
src/RobinArm.cpp
src/SenseStream.cpp
)
target_link_libraries(Robin001 ${catkin_LIBRARIES})
add_executable(RobinMoveit
src/robin_moveit.cpp
)
target_link_libraries(RobinMoveit ${catkin_LIBRARIES})
↧