Skip to content

Commit

Permalink
Changed frame period to actual max of 32767
Browse files Browse the repository at this point in the history
  • Loading branch information
1736student committed Apr 23, 2024
1 parent 7b4b419 commit 818a94f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wrappers/wrapperedSparkMax.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
20,
], # Status 1 = Motor velocity & electrical data
[CANSparkMax.PeriodicFrame.kStatus2, 20], # Status 2 = Motor Position
[CANSparkMax.PeriodicFrame.kStatus3, 65500], # Status 3 = Analog Sensor Input
[CANSparkMax.PeriodicFrame.kStatus4, 65500], # Status 4 = Alternate Encoder Stats
[CANSparkMax.PeriodicFrame.kStatus5, 65500], # Status 5 = Duty Cycle Encoder pt1
[CANSparkMax.PeriodicFrame.kStatus6, 65500], # Status 5 = Duty Cycle Encoder pt2
[CANSparkMax.PeriodicFrame.kStatus3, 32767], # Status 3 = Analog Sensor Input
[CANSparkMax.PeriodicFrame.kStatus4, 32767], # Status 4 = Alternate Encoder Stats
[CANSparkMax.PeriodicFrame.kStatus5, 32767], # Status 5 = Duty Cycle Encoder pt1
[CANSparkMax.PeriodicFrame.kStatus6, 32767], # Status 5 = Duty Cycle Encoder pt2
]


Expand Down

0 comments on commit 818a94f

Please sign in to comment.