ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
def configure(self,robot_name):
[..]
self.set_position_cartesian = rospy.Publisher('/dvrk/PSM1/set_position_cartesian', Pose, latch=True, queue_size = 10)
[..]
rospy.spin()
rospy.spin()
is a blocking call and will never end, until you stop the program.
So in essence you have an infinite wait / delay / sleep here at the end of configure(..)
.
2 | No.2 Revision |
def configure(self,robot_name):
[..]
self.set_position_cartesian = rospy.Publisher('/dvrk/PSM1/set_position_cartesian', Pose, latch=True, queue_size = 10)
[..]
rospy.spin()
rospy.spin()
is a blocking call and will never end, until you stop the program.
So in essence you have an infinite wait / delay / sleep here at the end of configure(..)
.
3 | No.3 Revision |
def configure(self,robot_name): [..] self.set_position_cartesian = rospy.Publisher('/dvrk/PSM1/set_position_cartesian', Pose, latch=True, queue_size = 10) [..] rospy.spin()
rospy.spin()
is a blocking call and will never end, until you stop the program.
So in essence you have an infinite wait / delay / sleep here at the end of configure(..)
.
Edit: and the same in trajectoryMover(..)
btw.