コード例 #1
0
    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."))
コード例 #2
0
    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"))
コード例 #3
0
 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())