[ros-users] Python node design.
mintaka_alnitak at hotmail.com
Tue Nov 2 12:35:46 UTC 2010
like to know if somebody could have a hint for our problem. This
question is for system design in python.
require of a ROS package holding a library for our system that has
relevant python wrappers (pyopencv)
used in our system.
we have encapsulated all required libraries (*.so) and python files
(*.py) into a node structure which can be used by pointing it to the
LD_LIBRARY_PATH. However, if we want to run our system as a ROS node,
we also require to update this system variable.
'manifest.xml' file for our ROS library (pyopencv) is:
-lpyopencv_extras -lboost_python -lcvaux -lcv_h_ext -lcv_hpp_ext
-lcxcore_h_ext -lcxcore_hpp_ext -lcxcore_hpp_point_ext
-lcxcore_hpp_vec_ext -lcxtypes_h_ext -lhighgui_ext -lcvaux -lcv
-lcxcore -lhighgui -lml -lml_ext -lsdopencv_ext" />
our node following rules from PyStyleGuide.
Our file system structure is:
← Pointed to LD_LIBRARY_PATH
|- *.so, *.py, *.pyc
really appreciate if somebody has an idea of how we could avoid the LD_LIBRARY_PATH system variable.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ros-users