RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
FloatSubscriber.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5// THIS FILE WAS AUTO-GENERATED BY ./ntcore/generate_topics.py. DO NOT MODIFY
6
7package org.wpilib.networktables;
8
9import org.wpilib.util.function.FloatSupplier;
10
12public interface FloatSubscriber extends Subscriber, FloatSupplier {
18 @Override
20
27 float get();
28
36 float get(float defaultValue);
37
38 @Override
39 default float getAsFloat() {
40 return get();
41 }
42
51
60 TimestampedFloat getAtomic(float defaultValue);
61
73
83 float[] readQueueValues();
84}
TimestampedFloat getAtomic(float defaultValue)