Team997Coders / pyswerve_2024

0 stars 0 forks source link

robot periodic #70

Closed Yuxuan1103 closed 3 months ago

Yuxuan1103 commented 3 months ago

def init(self, period: float = commands2.TimedCommandRobot.kDefaultPeriod / 1000):

to

def init(self, period: float = commands2.TimedCommandRobot(30 / 1000)):

This should make the code to run in 30 ms instead of 20 ms.