def confirm_start(self) -> None: """Stop program and prompt user to press play on pendant to resume.""" self.send(compas_rrc.PrintText("Press play when ready.")) self.send(compas_rrc.Stop()) log.info("Press start on pendant when ready") # After user presses play on pendant execution resumes: self.send(compas_rrc.PrintText("Resuming execution."))
def post_procedure(self): """Post fabrication procedure.""" self.retract_needles() log.debug("Sending move to safe joint position.") self.send( MoveToJoints( self.set_joint_pos.end, self.EXTERNAL_AXES_DUMMY, self.speed.travel, self.zone.travel, )) self.send(compas_rrc.PrintText("Finished"))
def confirm_start(self): """Stop program and prompt user to press play on pendant to resume.""" self.send(compas_rrc.PrintText("Press play when ready.")) self.send(compas_rrc.Stop())