Class TimestampedFloat
java.lang.Object
org.wpilib.networktables.TimestampedFloat
NetworkTables timestamped Float.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longTimestamp in server time base, in nanoseconds.final longTimestamp in local time base, in nanoseconds.final floatValue. -
Constructor Summary
ConstructorsConstructorDescriptionTimestampedFloat(long timestamp, long serverTime, float value) Create a timestamped value. -
Method Summary
-
Field Details
-
timestamp
public final long timestampTimestamp in local time base, in nanoseconds. -
serverTime
public final long serverTimeTimestamp in server time base, in nanoseconds. May be 0 or 1 for locally set values. -
value
public final float valueValue.
-
-
Constructor Details
-
TimestampedFloat
public TimestampedFloat(long timestamp, long serverTime, float value) Create a timestamped value.- Parameters:
timestamp- timestamp in local time base, in nanosecondsserverTime- timestamp in server time base, in nanosecondsvalue- value
-