]> defiant.homedns.org Git - ros_wild_thumper.git/commitdiff
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 51c66bbd7a2b7a5dfd34025ad10de1f485e7c544..2ff5d39893478b7a39a71afb08263eb2fe25832b 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>