Ejemplo n.º 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()
Ejemplo n.º 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()
Ejemplo n.º 3
0
 def teleopInit(self):
     logging.write_message(
         "\nYOU MAY CONTROL ME FOR NOW BUT I WILL RETURN\n")
Ejemplo n.º 4
0
 def teleopInit(self):
     logging.write_message("\nYOU MAY CONTROL ME FOR NOW BUT I WILL RETURN\n")