Skip to content

Use DSV environment hook to register plugin #59

Description

@StefanFabian

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: gazebosim/ros_gz_project_template#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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions