personalrobotics / or_octomap

or_octomap is a collision checker and sensor system plugin for OpenRAVE, intended to allow OpenRAVE meshes to be collision checked against octrees.
1 stars 2 forks source link

Multiple instances support and OpenRAVE libraries dir added to CMakeLists.txt #1

Closed dseredyn closed 9 years ago

dseredyn commented 9 years ago

Plugin.cpp: or_octomap plugin creates a ros node. If multiple instances of the plugin are created (eg. two processes using openrave with the plugin) then there is a node name conflict. I have added ros::init_options::AnonymousName option as argument to init node to make the node name unique, so many instances may be created.

CMakeLists.txt: I've added OpenRAVE_LIBRARY_DIRS to link_directories to support OpenRAVE compiled as a catkin package (install_isolated)