Skip to content

Commit c09b83a

Browse files
Libor Wagner130s
authored andcommitted
Fix issue OpenNI#9
This way the defaults for depth processing are set apropriately for both hardware and software registration.
1 parent 51711ed commit c09b83a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

launch/openni2.launch

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@
4848
<arg name="depth_registered_processing" default="true" />
4949
<arg name="disparity_processing" default="false" />
5050
<arg name="disparity_registered_processing" default="false" />
51-
<arg name="hw_registered_processing" default="true" />
52-
<arg name="sw_registered_processing" default="false" />
51+
<arg name="hw_registered_processing" default="true" if="$(arg depth_registration)" />
52+
<arg name="sw_registered_processing" default="false" if="$(arg depth_registration)" />
53+
<arg name="hw_registered_processing" default="false" unless="$(arg depth_registration)" />
54+
<arg name="sw_registered_processing" default="true" unless="$(arg depth_registration)" />
5355

5456
<!-- Disable bond topics by default -->
5557
<arg name="respawn" default="false" />

0 commit comments

Comments
 (0)