FRC1076 / 2019-Competition

Code for 2019 Competition
2 stars 1 forks source link

Delete print statements in autonomousInit and autonomousPeriodic and add them to the logger instead #81

Open Dannihu01 opened 5 years ago

Dannihu01 commented 5 years ago

def autonomousInit(self): self.teleopInit() print(“auton init”)

def autonomousPeriodic(self): self.teleopPeriodic() print(“auton periodic”)

Replace the print statements with the logger.

mcolinj commented 5 years ago

In autonperiodic, call we probably want something like a "tick" counter used to throttle the logging. Maybe we just need about one every 50 ticks. (in auton init, initialize autonTickCounter = 0).