This adds FluidConstants - 'constant' variables that can be edited over network tables while the robot is disabled.
Closes #46:
Constants can be of any type, defined as FluidConstant<type>
Constants can be updated locally using FluidConstant.setValue(T val)
Constants can be updated remotely over network tables by changing the value there.
Visit the Wiki page in this repo to see more info
(NOTE: The robot must be disabled to update constants over network tables)
Tested using the standalone RoboRio and the WPILib 2020 robot code simulator.
This adds FluidConstants - 'constant' variables that can be edited over network tables while the robot is disabled.
Closes #46: Constants can be of any type, defined as
FluidConstant<type>
Constants can be updated locally usingFluidConstant.setValue(T val)
Constants can be updated remotely over network tables by changing the value there. Visit the Wiki page in this repo to see more info (NOTE: The robot must be disabled to update constants over network tables)Tested using the standalone RoboRio and the WPILib 2020 robot code simulator.