Пример #1
0
    def autonomousInit(self):
        logging.write_message("\nTREMBLE, BEFORE ME HUMAN\n")
        config.auto_state = 0  # sets the autonomous state var to 0
        Autonomous.init_arm()

        # sets the timer up
        self.bkwd_timer = Timer(1.5, lambda: Autonomous.move_backward())
        self.stop_timer = Timer(1.5, lambda: Autonomous.stop())
        Autonomous.move_forward()
        self.bkwd_timer.start()
Пример #2
0
    def autonomousInit(self):
        logging.write_message("\nTREMBLE, BEFORE ME HUMAN\n")
        config.auto_state = 0  # sets the autonomous state var to 0
        Autonomous.init_arm()

        # sets the timer up
        self.bkwd_timer = Timer(1.5, lambda: Autonomous.move_backward())
        self.stop_timer = Timer(1.5, lambda: Autonomous.stop())
        Autonomous.move_forward()
        self.bkwd_timer.start()
Пример #3
0
 def teleopInit(self):
     logging.write_message(
         "\nYOU MAY CONTROL ME FOR NOW BUT I WILL RETURN\n")
Пример #4
0
 def teleopInit(self):
     logging.write_message("\nYOU MAY CONTROL ME FOR NOW BUT I WILL RETURN\n")