before sending reset diag message
<?xml version="1.0"?>
<launch>
<include file="$(find openni2_launch)/launch/openni2.launch">
- <arg name="depth_processing" value="true" />
- <arg name="rgb_processing" value="true" />
- <arg name="depth_registered_processing" value="true" />
<arg name="depth_registration" value="true" />
</include>
<param name="/camera/driver/depth_mode" value="11" />
def run(self):
rate = rospy.Rate(20.0)
+ sleep(3) # wait 3s for ros to register and establish all subscriber connections before sending reset diag
reset_val = self.get_reset()
rospy.loginfo("Reset Status: 0x%x" % reset_val)
i = 0