Class TunableManager
java.lang.Object
dev.doglog.internal.tunable.TunableManager
Applies DogLog's enable policy to WPILib tunables.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.wpilib.tunable.TunableBooleancreate(String key, boolean defaultValue, @Nullable org.wpilib.util.function.BooleanConsumer onChange) org.wpilib.tunable.Tunable<double[]> create(String key, double[] defaultValue, @Nullable String unit, @Nullable Consumer<double[]> onChange) org.wpilib.tunable.TunableDoubleorg.wpilib.tunable.TunableFloatcreate(String key, float defaultValue, @Nullable String unit, @Nullable org.wpilib.util.function.FloatConsumer onChange) org.wpilib.tunable.TunableLongorg.wpilib.tunable.Tunable<String> <M extends org.wpilib.units.Measure<?>>
org.wpilib.tunable.Tunable<M> voidsetOptions(DogLogOptions newOptions)
-
Constructor Details
-
TunableManager
-
-
Method Details
-
create
-
create
public org.wpilib.tunable.TunableDouble create(String key, double defaultValue, @Nullable String unit, @Nullable DoubleConsumer onChange) -
create
-
create
-
create
public org.wpilib.tunable.TunableLong create(String key, long defaultValue, @Nullable String unit, @Nullable LongConsumer onChange) -
create
-
create
-
setOptions
-