JHS-Viking-Robotics / FRC-2022

Code for the 2022 FRC season, now written in Java
Other
2 stars 2 forks source link

Shuffleboard: Force push default values from robot to DS on robot boot #32

Closed derickson2402 closed 3 years ago

derickson2402 commented 3 years ago

The Shuffleboard on the Driver Station acts as a client connecting to the robot, but it stores a cache of previously used values when the robot is shut down. It attempts to apply these values to the robot's NT server when the robot boots back up, but the robot is set to draw from default values on boot. There needs to be a force push of values to the NT server and Shuffleboard when the robot boots, so that good values are ensured on boot.

derickson2402 commented 3 years ago

After doing some perusing through the documentation for WPILib, and checking around on Chief Delphi, this appears to be default behavior upstream which cannot be changed.

Seeing as this is only really an issue during testing (as drivers shouldn't even be able to change any of these values during competition), I think this issue should be closed