From 615ced07915ea47e387ceb1d1faa1c6f55ef689f Mon Sep 17 00:00:00 2001 From: Aaron Edsinger Date: Fri, 19 Nov 2021 09:40:38 -0800 Subject: [PATCH] add d435i sleep --- stretch_core/nodes/d435i_configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stretch_core/nodes/d435i_configure b/stretch_core/nodes/d435i_configure index 89da89c..0fffb92 100755 --- a/stretch_core/nodes/d435i_configure +++ b/stretch_core/nodes/d435i_configure @@ -42,7 +42,8 @@ class D435iConfigureNode: ) def main(self): - rospy.init_node('configure_d435i') + rospy.sleep(3) # sleep for 3 seconds to wait for D435i to be ready + rospy.init_node('configure_d435i') self.node_name = rospy.get_name() rospy.loginfo("{0} started".format(self.node_name)) self.parameter_client = dynamic_reconfigure.client.Client('/camera/stereo_module/')