Commit 4bad0d94 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

SoTTalosDevice inherits from Device

parent 9e1ac69b
......@@ -29,7 +29,7 @@ INSTALL(TARGETS ${DEVICE_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib)
STRING(REPLACE - _ PYTHON_LIBRARY_NAME ${DEVICE_NAME})
DYNAMIC_GRAPH_PYTHON_MODULE("sot/talos/${PYTHON_LIBRARY_NAME}"
${DEVICE_NAME} sot-talos-${PYTHON_LIBRARY_NAME}-wrap
MODULE_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/${DEVICE_NAME}-python.hh")
SOURCE_PYTHON_MODULE "${CMAKE_CURRENT_SOURCE_DIR}/${DEVICE_NAME}-python-module-py.cc")
# Add the library to wrap the controller of Pyrene.
SET(CONTROLLER_NAME sot-pyrene-controller)
......
#include <dynamic-graph/python/module.hh>
#include "sot-talos-device.hh"
namespace dg = dynamicgraph;
BOOST_PYTHON_MODULE(wrap)
{
bp::import("dynamic_graph.sot.core.wrap");
dg::python::exposeEntity<SoTTalosDevice, bp::bases<dg::sot::Device> >();
}
#include "sot-talos-device.hh"
typedef boost::mpl::vector< SoTTalosDevice > entities_t;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment