Package frc.spectrumLib.params
package frc.spectrumLib.params
-
ClassDescriptionA switch.A finite number, with inclusive bounds.Ties the pit-saved file of a hard-stop group (swerve offsets, soft limits) to the robot it was saved on, so a controller moved to another robot does not bring that robot's values with it.A whole number, with inclusive bounds.Publishes params at
<prefix>/<group>/<key>on NetworkTables through AdvantageKit's LoggedNetwork inputs, so the dashboard's requests are in the log too.Param<T>One tunable value, declared in code with a name, type, default, units and optional bounds, and resolved from the layers described inParams.The value types a params file and the transport can carry.Declares the params of one group.Robot params: values tuned on the robot that survive the next deploy, without editing code.Where a param's current value came from.How params reach a dashboard for live tuning.A published value: what the dashboard last set, and a way to show a value there.Text, such as a camera name or a mode.Whether dashboards may change tunable values.