3dsensor: use rosparam to set depth mode
authorErik Andresen <erik@vontaene.de>
Mon, 28 Dec 2015 12:36:10 +0000 (13:36 +0100)
committerErik Andresen <erik@vontaene.de>
Mon, 28 Dec 2015 12:36:10 +0000 (13:36 +0100)
launch/3dsensor.launch

index 51c66bb..2ff5d39 100644 (file)
@@ -6,11 +6,10 @@
                <arg name="depth_registered_processing" value="true" />
                <arg name="depth_registration" value="true" />
        </include>
+       <param name="/camera/driver/depth_mode" value="11" />
 
        <node pkg="nodelet" type="nodelet" name="depthimage_to_laserscan" args="load depthimage_to_laserscan/DepthImageToLaserScanNodelet /camera/camera_nodelet_manager" output="screen">
                <remap from="/camera/image" to="/camera/depth/image"/>
                <remap from="/camera/scan" to="/scan"/>
        </node>
-
-       <node pkg="dynamic_reconfigure" type="dynparam" name="reconfig" output="screen" args="set /camera/driver depth_mode 11" />
 </launch>