MSMHS-Robotics / FRC-2020

FRC 2020: Infinite Recharge Robot Software
1 stars 0 forks source link

Make shuffleboard not kill our performance #114

Open danielbrownmsm opened 4 years ago

danielbrownmsm commented 4 years ago

Make a toggle button on shuffleboard for being in “test” mode or “comp” mode. Comp mode would only update competition-necessary values. Test mode would update all. This should reduce the “0.02s loop overrun” or whatever warning we keep getting

danielbrownmsm commented 4 years ago

Linking #a6d6cdbbdc51e441db33c2f353d1978100f77ef0

danielbrownmsm commented 4 years ago

Linking feat/fastshuffleboard

danielbrownmsm commented 4 years ago

To expand this, there should be different values (preset in Constants.java, updated with Shuffleboard). 0 would be comp-mode (bare-minimum stuff we need when competing). 1 would be a level up from that. 2 would be one up from that. 3 (or whatever) would be everything.

danielbrownmsm commented 4 years ago

Could also make these levels modify not only them being read from, but also written to (i.e. whether or not the user modifying them is registered)