Skip to content

Commit

Permalink
use basic_flag to path both --basic and --basic-yaml to roswww.launch
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Oct 28, 2021
1 parent 5889c02 commit 432bef9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion launch/roswww.launch
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
<arg name="cached" default="true"/>
<arg name="single_package" default=""/>
<arg name="basic" default="false"/>
<arg name="basic_yaml" default=""/>
<arg name="basic_flag" value="--basic $(arg basic) --basic-yaml $(arg basic_yaml)" if="$(arg basic)" />
<arg name="basic_flag" value="" unless="$(arg basic)" />

<arg name="port" default="8085"/>
<arg name="start_port" default="$(arg port)" />
<arg name="end_port" default="$(arg port)" />

<node pkg="roswww" type="webserver.py" name="$(arg name)"
args="--name $(arg name) --webpath $(arg webpath) --cached $(arg cached)
--basic $(arg basic)
$(arg basic_flag)
--single_package=$(arg single_package)
--port $(arg port) --start_port $(arg start_port) --end_port $(arg end_port)" />
</launch>

0 comments on commit 432bef9

Please sign in to comment.