RGLGazeboPlugin icon indicating copy to clipboard operation
RGLGazeboPlugin copied to clipboard

Use DSV environment hook to register plugin

Open StefanFabian opened this issue 1 year ago • 0 comments

The current setup procedure could be simplified by just exporting an environment hook that will register the plugin automatically for gazebo when the workspace is sourced.

Unfortunately, the documentation for that is really hard to find. I couldn't even find it myself, knowing that it existed at some point. Here's some information I could find: https://github.com/gazebosim/ros_gz_project_template/issues/16

See example dsv: https://github.com/StefanFabian/qml_ros2_plugin/blob/master/environment_setup.dsv.in

and how to register: https://github.com/StefanFabian/qml_ros2_plugin/blob/master/CMakeLists.txt#L170

StefanFabian avatar Jan 16 '25 08:01 StefanFabian