Skip to content

Commit

Permalink
Update launch files with name parameter (#556)
Browse files Browse the repository at this point in the history
* Name is required.

Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero authored May 31, 2024
1 parent ae79079 commit cadae1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ros_gz_bridge/launch/ros_gz_bridge.launch
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<launch>
<arg name="name" />
<arg name="config_file" default="" />
<arg name="container_name" default="ros_gz_container" />
<arg name="namespace" default="" />
<arg name="use_composition" default="False" />
<arg name="use_respawn" default="False" />
<arg name="log_level" default="info" />
<ros_gz_bridge
<ros_gz_bridge
name="$(var name)"
config_file="$(var config_file)"
container_name="$(var container_name)"
namespace="$(var namespace)"
Expand Down
4 changes: 3 additions & 1 deletion ros_gz_sim/launch/ros_gz_sim.launch
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<launch>
<arg name="name" />
<arg name="config_file" default="" />
<arg name="container_name" default="ros_gz_container" />
<arg name="namespace" default="" />
Expand All @@ -13,7 +14,8 @@
container_name="$(var container_name)"
use_composition="$(var use_composition)">
</gz_server>
<ros_gz_bridge
<ros_gz_bridge
name="$(var name)"
config_file="$(var config_file)"
container_name="$(var container_name)"
namespace="$(var namespace)"
Expand Down

0 comments on commit cadae1c

Please sign in to comment.