RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
FloatPublisher.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.FloatConsumer;
10
12public interface FloatPublisher extends Publisher, FloatConsumer {
18 @Override
20
26 default void set(float value) {
27 set(value, 0);
28 }
29
30
37 void set(float value, long time);
38
46 void setDefault(float value);
47
48 @Override
49 default void accept(float value) {
50 set(value);
51 }
52}