Browse Source

add d435i sleep

feature/pluggable_end_effector
Aaron Edsinger 3 years ago
parent
commit
615ced0791
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      stretch_core/nodes/d435i_configure

+ 2
- 1
stretch_core/nodes/d435i_configure View File

@ -42,7 +42,8 @@ class D435iConfigureNode:
) )
def main(self): 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() self.node_name = rospy.get_name()
rospy.loginfo("{0} started".format(self.node_name)) rospy.loginfo("{0} started".format(self.node_name))
self.parameter_client = dynamic_reconfigure.client.Client('/camera/stereo_module/') self.parameter_client = dynamic_reconfigure.client.Client('/camera/stereo_module/')

Loading…
Cancel
Save