Skip to content
Snippets Groups Projects
Commit 3ecea76f authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Switch to boost python.

parent cd5506c5
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,6 @@ IF(BUILD_PYTHON_INTERFACE)
ADD_PROJECT_DEPENDENCY(dynamic-graph-python REQUIRED
PKG_CONFIG_REQUIRES dynamic-graph-python)
SET(CATKIN_REQUIRED_COMPONENTS ${CATKIN_REQUIRED_COMPONENTS} rospy)
SET(BOOST_COMPONENTS ${BOOST_COMPONENTS} python)
ENDIF(BUILD_PYTHON_INTERFACE)
find_package(catkin REQUIRED COMPONENTS ${CATKIN_REQUIRED_COMPONENTS})
......
......@@ -25,7 +25,8 @@ FOREACH(plugin ${plugins})
IF(BUILD_PYTHON_INTERFACE)
STRING(REPLACE - _ PYTHON_LIBRARY_NAME ${LIBRARY_NAME})
DYNAMIC_GRAPH_PYTHON_MODULE("ros/${PYTHON_LIBRARY_NAME}"
${LIBRARY_NAME} ${PROJECT_NAME}-${PYTHON_LIBRARY_NAME}-wrap)
${LIBRARY_NAME} ${PROJECT_NAME}-${PYTHON_LIBRARY_NAME}-wrap
MODULE_HEADER ${CMAKE_CURRENT_SOURCE_DIR}/${plugin}-python.hh)
ENDIF(BUILD_PYTHON_INTERFACE)
ENDFOREACH(plugin)
......
#include "ros_publish.hh"
typedef boost::mpl::vector< dynamicgraph::RosPublish > entities_t;
#include "ros_queued_subscribe.hh"
typedef boost::mpl::vector< dynamicgraph::RosQueuedSubscribe > entities_t;
#include "ros_subscribe.hh"
typedef boost::mpl::vector< dynamicgraph::RosSubscribe > entities_t;
#include "ros_tf_listener.hh"
typedef boost::mpl::vector< dynamicgraph::RosTfListener > entities_t;
#include "ros_time.hh"
typedef boost::mpl::vector< dynamicgraph::RosTime > entities_t;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment