Skip to content

Commit 9d10f16

Browse files
mergify[bot]Timple
andauthored
Fix plugin loading in gazebo (#876) (#881)
(cherry picked from commit 13d072c) Co-authored-by: Tim Clephas <tim.clephas@nobleo.nl>
1 parent f538d25 commit 9d10f16

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

gz_ros2_control/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,7 @@ install(TARGETS ign_ros2_control-system
135135

136136
pluginlib_export_plugin_description_file(gz_ros2_control gz_hardware_plugins.xml)
137137

138+
ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/${PROJECT_NAME}.dsv.in")
139+
138140
# Setup the project
139141
ament_package()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prepend-non-duplicate;GZ_SIM_SYSTEM_PLUGIN_PATH;@CMAKE_INSTALL_PREFIX@/lib

0 commit comments

Comments
 (0)