forked from chili-epfl/ros_markers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
detect.launch
43 lines (34 loc) · 1.76 KB
/
detect.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
38
39
40
41
42
43
<launch>
<!-- Sets the image source. -->
<arg name="image_topic" default="/camera/image_raw" />
<remap from="image" to="$(arg image_topic)" />
<!-- Sets the TF frame of the camera. -->
<arg name="camera_frame_id" default="my_camera" />
<!-- Defines which and where are the markers in the environment. The sample
file (markers_configuration_sample.yml) provides complete documentation.
-->
<arg name="markers_configuration"
default="$(find ros_markers)/config/markers_configuration_sample.yml" />
<!-- Sets whether or not to ignore markers not included in the
configuration file. -->
<arg name="omit_other_tags" default="false" />
<!-- Sets the default size of markers, in millimeters, which are not
in the configuration file. -->
<arg name="default_marker_size" default="30.0" />
<!-- set the level of filtering applied on the detected markers. 1.0 means
no filtering, while 0.0 is the maximum level of filtering.
(-1 uses chilitags default value). -->
<arg name="gain" default="-1" />
<!-- set the number of frames an object/marker should be not detected
for before it is removed. (-1 uses chilitags default value). -->
<arg name="persistence" default="-1" />
<node pkg="ros_markers" type="detect" name="ros_markers">
<param name="camera_frame_id" type="str" value="$(arg camera_frame_id)" />
<param name="markers_configuration" type="str"
value="$(arg markers_configuration)" />
<param name="omit_other_tags" type="bool" value="$(arg omit_other_tags)" />
<param name="default_marker_size" type="double" value="$(arg default_marker_size)" />
<param name="gain" type="double" value="$(arg gain)" />
<param name="persistence" type="int" value="$(arg gain)" />
</node>
</launch>