Team2168 / 2022_Main_Robot

Other
3 stars 0 forks source link

Reduce status frame periods for CTRE devices #46

Closed jcorcoran closed 2 years ago

jcorcoran commented 2 years ago

Reduce frame periods on CTRE devices:

Some guidance here: https://docs.ctre-phoenix.com/en/stable/ch18_CommonAPI.html

There are a number of messages from the motor controllers we don't really use info from (Status 4, 8, 12, 14) especially not during a match - more for controllers that aren't ever running in closed loop mode (intake, hopper, indexer) Same for the pigeon (e.g. magnetometer)

This should help reduce the probability of collisions on the bus, which may cause the PH to disable its outputs

jcorcoran commented 2 years ago

some more info here: https://www.chiefdelphi.com/t/compressor-stopping-and-starting-before-reaching-pressure-and-command-questions/404143/6

jcorcoran commented 2 years ago

started here: https://github.com/Team2168/2022_Main_Robot/tree/reduce_ctre_status-frame_rates

jcorcoran commented 2 years ago

closed by #50