Skip to content

Commit

Permalink
modify plugin path to match rmf_simulation install (open-rmf#108)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
  • Loading branch information
Marco A. Gutiérrez committed Nov 12, 2021
1 parent 33d3c37 commit 2ec7656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rmf_demos_gz/launch/simulation.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<let name="world_path" value="$(find-pkg-share $(var map_package))/maps/$(var map_name)/$(var map_name).world" />
<let name="model_path" value="$(find-pkg-share $(var map_package))/maps/$(var map_name)/models:$(find-pkg-share rmf_demos_assets)/models:/usr/share/gazebo-$(var gazebo_version)/models" />
<let name="resource_path" value="$(find-pkg-share rmf_demos_assets):/usr/share/gazebo-$(var gazebo_version)" />
<let name="plugin_path" value="$(find-pkg-prefix rmf_robot_sim_gazebo_plugins)/lib:$(find-pkg-prefix rmf_building_sim_gazebo_plugins)/lib:/usr/share/gazebo-$(var gazebo_version)" />
<let name="plugin_path" value="$(find-pkg-prefix rmf_robot_sim_gazebo_plugins)/lib/rmf_robot_sim_gazebo_plugins:$(find-pkg-prefix rmf_building_sim_gazebo_plugins)/lib/rmf_building_sim_gazebo_plugins:/usr/share/gazebo-$(var gazebo_version)" />

<!-- Use crowd sim if `use_crowdsim` is true-->
<let name="menge_resource_path" if="$(var use_crowdsim)" value="$(find-pkg-share $(var map_package))/maps/$(var map_name)/config_resource"/>
Expand Down
2 changes: 1 addition & 1 deletion rmf_demos_ign/launch/simulation.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<let name="world_path" value="$(find-pkg-share $(var map_package))/maps/$(var map_name)_ign/$(var map_name).world" />
<let name="model_path" value="$(find-pkg-share $(var map_package))/maps/$(var map_name)/models:$(find-pkg-share $(var map_package))/maps/$(var map_name)_ign/models:$(find-pkg-share rmf_demos_assets)/models:$(env HOME)/.gazebo/models" />
<let name="plugin_path" value="$(find-pkg-prefix rmf_robot_sim_ignition_plugins)/lib:$(find-pkg-prefix rmf_building_sim_ignition_plugins)/lib" />
<let name="plugin_path" value="$(find-pkg-prefix rmf_robot_sim_ignition_plugins)/lib/rmf_robot_sim_ignition_plugins:$(find-pkg-prefix rmf_building_sim_ignition_plugins)/lib/rmf_building_sim_ignition_plugins" />
<!-- Use TPE if` use_tpe` is set to true-->
<!-- TODO use the variable below and remove code duplication (second ign gazebo command) when substitution in XML with ignition gazebo works -->
<let name="tpe_engine" value="\-\-physics-engine ignition-physics-tpe-plugin" />
Expand Down

0 comments on commit 2ec7656

Please sign in to comment.