https://github.com/um-arm-lab/or_ros_plugin_initializer
Initializer for OpenRAVE plugins to handle ROS command line arguments
https://github.com/um-arm-lab/or_ros_plugin_initializer
Last synced: 3 months ago
JSON representation
Initializer for OpenRAVE plugins to handle ROS command line arguments
- Host: GitHub
- URL: https://github.com/um-arm-lab/or_ros_plugin_initializer
- Owner: UM-ARM-Lab
- License: bsd-2-clause
- Created: 2017-04-08T00:41:58.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T19:39:49.000Z (over 8 years ago)
- Last Synced: 2025-11-13T05:03:58.927Z (7 months ago)
- Language: CMake
- Size: 6.84 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenRAVE ROS Initializer
A thin shim to pass commandline/roslaunch arguments to the C++ ros::init function. Includes functionality to append to the plugin name to avoid name conflicts.
# Example usage:
```python
from or_ros_plugin_initializer import ros_argv_conversion
plugin_argv = ros_argv_conversion.convert_argv_to_string(sys.argv, node_name_suffix='_internal_plugin')
ros_initializer = rave.RaveCreateModule(self.env, 'orrosplugininitializer')
ros_initializer.SendCommand('Initialize ' + plugin_argv)
```