Class ParamGroup
java.lang.Object
frc.spectrumLib.params.ParamGroup
Declares the params of one group. The group name is the file name: group
cameras reads
params/cameras.json. Get one from Params.group(String).
private static final ParamGroup CAMERAS = Params.group("cameras");
public static final DoubleParam RESEND_SECONDS =
CAMERAS.number("settingsResendPeriodSeconds", 2.0, "s", 0.5, 30);
-
Method Summary
Modifier and TypeMethodDescriptionA whole number within[min, max].name()A number with no bounds beyond being finite.A number within[min, max]; a file or dashboard value outside it is refused.
-
Method Details
-
name
-
number
A number with no bounds beyond being finite. -
number
A number within[min, max]; a file or dashboard value outside it is refused. -
integer
-
integer
-
bool
-
string
-