Skip to content

Commit 6b4a4d9

Browse files
authored
Make field configurable in cli (#695)
2 parents a927735 + c0569d0 commit 6b4a4d9

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

bitbots_behavior/bitbots_body_behavior/launch/behavior_standalone.launch

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
<launch>
33
<arg name="sim" default="false" />
44
<arg name="dsd_file" default="main.dsd" description="The behavior dsd file that should be used" />
5+
<arg unless="$(var sim)" name="fieldname" default="labor" description="Loads field settings (labor, webots, ...)." />
6+
<arg if="$(var sim)" name="fieldname" default="webots" description="Loads field settings (labor, webots, ...)." />
57

68
<include file="$(find-pkg-share bitbots_parameter_blackboard)/launch/parameter_blackboard.launch">
79
<arg name="sim" value="$(var sim)" />
10+
<arg name="fieldname" value="$(var fieldname)" />
811
</include>
912

1013
<include file="$(find-pkg-share bitbots_body_behavior)/launch/behavior.launch">

bitbots_misc/bitbots_bringup/launch/teamplayer.launch

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515
<arg name="monitoring" default="true" description="Whether the system monitor and udp bridge should be started" />
1616
<arg name="record" default="false" description="Whether the ros bag recording should be started" />
1717
<arg name="tts" default="true" description="Whether to speak" />
18+
<arg unless="$(var sim)" name="fieldname" default="labor" description="Loads field settings (labor, webots, ...)." />
19+
<arg if="$(var sim)" name="fieldname" default="webots" description="Loads field settings (labor, webots, ...)." />
1820

1921

2022
<!-- load the global parameters -->
2123
<include file="$(find-pkg-share bitbots_parameter_blackboard)/launch/parameter_blackboard.launch">
2224
<arg name="sim" value="$(var sim)" />
25+
<arg name="fieldname" value="$(var fieldname)" />
2326
</include>
2427

2528
<!-- load the diagnostic aggregator -->

bitbots_misc/bitbots_bringup/launch/vision_standalone.launch

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
<arg name="sim" default="false" description="true: activates simulation time, switches to simulation color settings and deactivates launching of an image provider" />
55
<arg name="camera" default="true" description="true: launches an image provider to get images from a camera (unless sim:=true)" />
66
<arg name="debug" default="false" description="true: activates publishing of several debug images" />
7+
<arg unless="$(var sim)" name="fieldname" default="labor" description="Loads field settings (labor, webots, ...)." />
8+
<arg if="$(var sim)" name="fieldname" default="webots" description="Loads field settings (labor, webots, ...)." />
79

810
<!-- Load the global parameters-->
911
<include file="$(find-pkg-share bitbots_parameter_blackboard)/launch/parameter_blackboard.launch">
1012
<arg name="sim" value="$(var sim)" />
13+
<arg name="fieldname" value="$(var fieldname)" />
1114
</include>
1215

1316
<!-- Load the diagnostic aggregator-->

bitbots_misc/bitbots_bringup/launch/visualization.launch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<arg name="ipm" default="false" description="if the soccer ipm should be used" />
66
<arg name="motion" default="true" description="if the motion should be started" />
77
<arg name="game_controller" default="false" description="if the game controller node should be started" />
8+
<arg name="fieldname" default="labor" description="Loads field settings (labor, webots, ...)." />
89

910
<!-- load the global parameters -->
1011
<include file="$(find-pkg-share bitbots_parameter_blackboard)/launch/parameter_blackboard.launch" />

0 commit comments

Comments
 (0)