def _handle_tp_R_S_clicked(self): if self.manualMode == True: rospy.loginfo("Tipping") goal = tipperGoal() goal.lift = True; self.tipperClient.send_goal(goal) self.tipperClient.wait_for_result(rospy.Duration.from_sec(10))
def _handle_tp_R_S_clicked(self): if self.manualMode == True: rospy.loginfo("Tipping") goal = tipperGoal() goal.lift = True self.tipperClient.send_goal(goal) self.tipperClient.wait_for_result(rospy.Duration.from_sec(10))
def tip(self): rospy.loginfo("Tipping") goal = tipperGoal() goal.lift = True; tipperClient.send_goal(goal) tipperClient.wait_for_result(rospy.Duration.from_sec(SERVER_WAIT_TIME)) rospy.sleep(2) # activateTipper() return 0