File: test_nodelet_lazy.launch

package info (click to toggle)
ros-nodelet-core 1.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 596 kB
  • sloc: cpp: 2,473; python: 367; xml: 171; makefile: 7
file content (41 lines) | stat: -rw-r--r-- 1,329 bytes parent folder | download | duplicates (5)
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
38
39
40
41
<launch>

  <node name="empty_string_publisher"
        pkg="test_nodelet_topic_tools" type="empty_string_publisher.py">
    <remap from="~output" to="input" />
  </node>

  <param name="verbose_connection" value="true" />

  <node name="string_nodelet_lazy_0"
        pkg="nodelet" type="nodelet"
        args="standalone test_nodelet_topic_tools/NodeletLazyString"
        output="screen">
    <remap from="~input"  to="input"/>
  </node>
  <node name="string_nodelet_lazy_1"
        pkg="nodelet" type="nodelet"
        args="standalone test_nodelet_topic_tools/NodeletLazyString"
        output="screen">
    <remap from="~input"  to="string_nodelet_lazy_0/output"/>
  </node>
  <node name="string_nodelet_lazy_2"
        pkg="nodelet" type="nodelet"
        args="standalone test_nodelet_topic_tools/NodeletLazyString"
        output="screen">
    <remap from="~input"  to="string_nodelet_lazy_1/output"/>
  </node>

  <test test-name="test_lazy"
        name="test_lazy"
        pkg="test_nodelet_topic_tools" type="test_lazy.py"
        retry="3">
    <rosparam>
      input_topic_type: std_msgs/String
      check_connected_topics: [string_nodelet_lazy_0/output, string_nodelet_lazy_1/output]
      wait_for_connection: 3
    </rosparam>
    <remap from="~input" to="string_nodelet_lazy_2/output" />
  </test>

</launch>