-
Notifications
You must be signed in to change notification settings - Fork 56
/
deployer.launch
37 lines (36 loc) · 1.57 KB
/
deployer.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<launch>
<!-- The node name for the deployer -->
<arg name="NAME" default="$(anon deployer)"/>
<!-- Orocos log level (never, fatal, critical, error, warning, info, debug, realtime) -->
<arg name="LOG_LEVEL" default="info"/>
<!-- Additional Orocos deployer args -->
<arg name="DEPLOYER_ARGS" default=""/>
<!-- Orocos target (gnulinux, xenomai, etc) -->
<arg name="OROCOS_TARGET" default="$(optenv OROCOS_TARGET)"/>
<!-- Path to look for dynamically-loaded plugins and components (something like /lib/orocos) -->
<arg name="RTT_COMPONENT_PATH" default="$(env RTT_COMPONENT_PATH)"/>
<!-- Lauch corba deployer -->
<arg name="CORBA" default="false"/>
<!-- Set DEBUG to true to run in GDB (don't forget to build in Debug mode) -->
<arg name="DEBUG" default="false"/>
<arg if="$(arg DEBUG)" name="SUFFIX" value="-debug"/>
<arg unless="$(arg DEBUG)" name="SUFFIX" value=""/>
<!-- Launch deployer -->
<node unless="$(arg CORBA)"
name="$(arg NAME)"
pkg="rtt_ros" type="deployer$(arg SUFFIX)"
args="-l $(arg LOG_LEVEL) $(arg DEPLOYER_ARGS) --"
output="screen">
<env name="OROCOS_TARGET" value="$(arg OROCOS_TARGET)"/>
<env name="RTT_COMPONENT_PATH" value="$(arg RTT_COMPONENT_PATH)"/>
</node>
<!-- launch corba deployer -->
<node if="$(arg CORBA)"
name="$(arg NAME)"
pkg="rtt_ros" type="deployer-corba$(arg SUFFIX)"
args="-l $(arg LOG_LEVEL) $(arg DEPLOYER_ARGS) --"
output="screen">
<env name="OROCOS_TARGET" value="$(arg OROCOS_TARGET)"/>
<env name="RTT_COMPONENT_PATH" value="$(arg RTT_COMPONENT_PATH)"/>
</node>
</launch>