Hello, I program in python and javascript. Firstly, my node make a list of all published topics and their types. Then, after a human interaction in JavaScript, it subscribes to a topic and imports the library necessary to define the subscriber. My question is how include this package in the manifest.xml file of this node during its execution.
Waiting for earing from u,
Have fun with ROS
Benoit
you can call roslib.load_manifest(package_name) of any package to add it to the sys.path of your node's execution.
I have no idea if that works or is safe at all, but what about modifying manifest.xml from the script and calling load_manifest again? Even if that works, I'd probably only use it in production code if one of the roslib developers signs of on that.
There is some documentation on the manifest page that hints at a cleaner functionality. Maybe you can followup from there.
Asked: 2012-01-24 07:14:44 -0500
Seen: 135 times
Last updated: Jan 24 '12
Include directory for other packages
navigation tutorial dependencies
rosjava compilation error when use rosmake
How to find the list of stack on which you depend ?
How to give dependencies in manifest files?
cannot install ros-electric-desktop-full right now
Unmet dependencies with unstable-desktop-full, Natty
Best Practice: URDF descriptions, real robots, gazebo plugins and dependencies
Dependencies and rosmake in Fuerte and following distributions
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.