Statistics
| Branch: | Revision:

root / rgbdslam / launch / rgbdslam_sample_config.launch @ 9240aaa3

History | View | Annotate | Download (6.5 KB)

1
<!-- This file demonstrates the parameters that can be set via the parameter server.
2
     The settings here typically show the default values (c.f. parameter_server.cpp)
3
     This file strives to enlist all possibilities, to be a good copy-paste source.
4
     In general most options/tags don't need to be altered/used-->
5
<launch>
6
  <env name="ROSCONSOLE_CONFIG_FILE" value="$(find rgbdslam)/log.conf"/>
7
  <env name="ROSCONSOLE_FORMAT" value="[${severity}] [${time}]: ${message}"/>
8

    
9
  <arg name="debug" default="false"/>
10
  <!-- Several possibilities to debug -->
11
  <arg if="$(arg debug)" name="launch_prefix" value="/usr/bin/gdb -ex run -args"/>
12
  <!--arg if="$(arg debug)" name="launch_prefix" value="/usr/bin/xterm -rv -e gdb -ex run -args"/-->
13
  <!--arg if="$(arg debug)" name="launch_prefix" value="/usr/bin/valgrind -DELeTEME-tool=cachegrind -DELETEME-cachegrind-out-file=/tmp/cachegrind.out"/-->
14
  <!--arg if="$(arg debug)" name="launch_prefix" value="/usr/bin/valgrind -DELETEME-leak-check=full "/-->
15

    
16
  <node pkg="rgbdslam" type="rgbdslam" name="rgbdslam" cwd="node" required="false" output="log" > 
17
    <!-- Input data settings-->
18
    <param name="config/topic_image_mono"              value="/camera/rgb/image_mono"/> <!--could also be color -->
19
  	<param name="config/topic_image_depth"             value="/camera/depth/image"/>
20
    <param name="config/topic_points"                  value="/camera/rgb/points"/> <!--if empty, poincloud will be reconstructed from image and depth -->
21
    <param name="config/camera_info_topic"             value="/camera/rgb/camera_info"/>
22
    <param name="config/wide_topic"                    value="/wide_stereo/left/image_mono"/>;
23
    <param name="config/wide_cloud_topic"              value="/wide_stereo/points2"/>;
24
  	<param name="config/subscriber_queue_size"         value="2"/>
25
    <param name="config/drop_async_frames"             value="false"/> <!-- Check association of depth and visual image, reject if not in sync -->
26
    <param name="config/depth_scaling_factor"          value="1.0"/> <!-- to correct bad depth scaling of kinect -->
27

    
28
    <!-- TF information settings -->
29
  	<param name="config/fixed_frame_name"              value="/map"/>
30
    <param name="config/ground_truth_frame_name"       value="/ground_truth_map"/><!--empty string if no ground truth-->
31
    <param name="config/base_frame_name"               value="/openni_camera"/> <!-- /openni_camera for hand-held kinect. For robot, e.g., /base_link -->
32
    <param name="config/fixed_camera"                  value="true"/> <!--is the kinect fixed with respect to base, or can it be moved (false makes sense only if transform betw. base_frame and openni_camera is sent via tf)-->
33

    
34
    <!-- Visual Features, to activate GPU-based features see CMakeLists.txt -->
35
    <param name="config/feature_detector_type"         value="SURF"/><!-- If SIFTGPU is enabled in CMakeLists.txt, use SURF here -->
36
    <param name="config/feature_extractor_type"        value="SURF"/><!-- If SIFTGPU is enabled in CMakeLists.txt, use SURF here -->
37
    <param name="config/max_keypoints"                 value="1000"/><!-- Extract no more than this many keypoints (not honored by SIFTGPU)-->
38
    <param name="config/min_keypoints"                 value="600"/><!-- Extract no less than this many ... -->
39
  	<param name="config/fast_max_iterations"           value="10"/>
40
  	<param name="config/surf_max_iterations"           value="3"/>
41

    
42
    <!-- Algortithm settings -->
43
    <param name="config/min_translation_meter"         value="0.1"/><!-- frames with motion less than this, will be omitted -->
44
  	<param name="config/min_rotation_degree"           value="5"/><!-- frames with motion less than this, will be omitted -->
45
    <param name="config/connectivity"                  value="10"/> <!-- compare to how many nodes? 0: always to previous and to root node, -1: only to previous-->
46
    <param name="config/max_connections"               value="8"/><!-- stop after this many succesfully found spation relations -->
47
    <param name="config/min_matches"                   value="50"/><!-- Prune unreliable transformations from too few feature matches -->
48
    <param name="config/ransac_iterations"             value="5000"/><!-- these are fast -->
49
    <param name="config/max_dist_for_inliers"          value="0.03"/> <!--matches considered inliers by ransac-->
50
    <param name="config/use_flann"                     value="true"/> <!-- flann (not avail for ORB) or bruteforcematching -->
51
    <param name="config/optimizer_iterations"          value="2"/><!-- maximum of iterations in online operation (i.e., does not affect the final optimization in batch mode -->
52
    <param name="config/optimizer_skip_step"           value="1"/><!-- optimize every n-th frame -->
53

    
54
    <!-- Visualization Settings -->
55
    <param name="config/squared_meshing_threshold"     value="0.0009"/><!-- don't triangulate over depth jumps -->
56
    <param name="config/use_glwidget"                  value="true"/><!-- 3D visualization needs performance -->
57
    <param name="config/use_gui"                       value="true"/><!-- No visualization, e.g., on robot -->
58
    <param name="config/visualization_skip_step"       value="1"/> <!-- draw only every nth pointcloud row and line -->
59
    <param name="config/show_axis"                     value="true"/>    <!-- do/don't visualize the sensor position -->
60

    
61
    <!-- Misc -->
62
    <param name="config/voxelfilter_size"              value="-1.0"/> <!-- in meter voxefilter displayed and stored pointclouds, incompatible with use_glwidget=true. Set negative to disable-->
63
    <param name="config/individual_cloud_out_topic"    value="/rgbdslam/batch_clouds"/>;
64
    <param name="config/aggregate_cloud_out_topic"     value="/rgbdslam/aggregate_clouds"/>;
65
  	<param name="config/publisher_queue_size"          value="1"/>
66
  	<param name="config/preserve_raster_on_save"       value="false"/>
67
    <param name="config/min_time_reported"             value="0.01"/><!-- for easy runtime analysis -->
68
  	<param name="config/start_paused"                  value="true"/>
69
    <param name="config/store_pointclouds"             value="false"/> <!-- if, e.g., only trajectory is required, setting this to false saves lots of memory -->
70
    <param name="config/bagfile_name"                  value=""/><!-- read data from a bagfile, make sure to enter the right topics above-->
71
    <param name="config/batch_processing"              value="false"/>    <!--store results and close after bagfile has been processed-->
72
    <param name="config/data_skip_step"                value="1"/><!-- skip every n-th frame completely -->
73
  </node>
74
</launch>