Index

A C D E F G H I L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values

A

abs(Formula) - Static method in class dev.doglog.Formula
The absolute value.
addFault(String) - Static method in class dev.doglog.internal.FaultLogger
 
addFault(String, Alert.Level) - Static method in class dev.doglog.internal.FaultLogger
Log a fault.
and(Condition) - Method in class dev.doglog.Condition
Whether this and other are both true.
atan2(Formula, Formula) - Static method in class dev.doglog.Formula
The angle of the point (x, y) from the X axis, in radians.
avgOverTime(Condition) - Static method in class dev.doglog.Formula
The fraction of the time since the first value that the condition was true, from 0 to 1.
avgOverTime(Condition, Time) - Static method in class dev.doglog.Formula
The fraction of the last window that the condition was true, from 0 to 1.
avgOverTime(Formula) - Static method in class dev.doglog.Formula
The average since the first value, weighted by how long each value was held.
avgOverTime(Formula, Time) - Static method in class dev.doglog.Formula
The average over the last window, weighted by how long each value was held, ex.

C

captureConsole() - Method in record class dev.doglog.DogLogOptions
Returns the value of the captureConsole record component.
captureDs() - Method in record class dev.doglog.DogLogOptions
Returns the value of the captureDs record component.
ceil(Formula) - Static method in class dev.doglog.Formula
The value rounded up, for numbers without a unit.
clamp(Formula, Formula, Formula) - Static method in class dev.doglog.Formula
The value limited to low through high.
clearFault(Enum) - Static method in class dev.doglog.DogLog
Reset the count of a fault to 0, and set the alert associated with the fault to inactive if possible.
clearFault(String) - Static method in class dev.doglog.DogLog
Reset the count of a fault to 0, and set the alert associated with the fault to inactive if possible.
clearFault(String) - Static method in class dev.doglog.internal.FaultLogger
 
close() - Method in class dev.doglog.internal.extras.ExtrasLogger
 
computed(String, Condition) - Static method in class dev.doglog.DogLog
Log a computed entry that's true or false, ex.
computed(String, Formula) - Static method in class dev.doglog.DogLog
Log a computed entry, which DogLog Studio calculates from other entries with a formula, ex.
computed(String, Formula, Unit) - Static method in class dev.doglog.DogLog
Log a computed entry in a unit, ex.
Condition - Class in dev.doglog
A formula that's true or false, which DogLog Studio calculates a boolean computed entry with.
cos(Formula) - Static method in class dev.doglog.Formula
The cosine of an angle.
count(Condition) - Static method in class dev.doglog.Formula
How many times the condition became true, ex.
create(String, boolean, BooleanConsumer) - Method in class dev.doglog.internal.tunable.TunableManager
 
create(String, double[], String, Consumer) - Method in class dev.doglog.internal.tunable.TunableManager
 
create(String, double, String, DoubleConsumer) - Method in class dev.doglog.internal.tunable.TunableManager
 
create(String, float, String, FloatConsumer) - Method in class dev.doglog.internal.tunable.TunableManager
 
create(String, long, String, LongConsumer) - Method in class dev.doglog.internal.tunable.TunableManager
 
create(String, String, Consumer) - Method in class dev.doglog.internal.tunable.TunableManager
 
create(String, M, Consumer) - Method in class dev.doglog.internal.tunable.TunableManager
 
createInterpolatingMap(String, String, Map.Entry[]) - Method in class dev.doglog.internal.tunable.TunableManager
 

D

deadband(Formula, Formula) - Static method in class dev.doglog.Formula
0 when the value is within width of 0, otherwise the value.
decreaseFault(Enum) - Static method in class dev.doglog.DogLog
Lower the count of a fault by 1, unless it is already at 0.
decreaseFault(String) - Static method in class dev.doglog.DogLog
Lower the count of a fault by 1, unless it is already at 0.
decreaseFault(String) - Static method in class dev.doglog.internal.FaultLogger
Remove the alert associated with a fault.
derivative(Formula) - Static method in class dev.doglog.Formula
The rate of change per second, ex.
dev.doglog - package dev.doglog
DogLog is a thin, opinionated wrapper over WPILib Telemetry and Tunables for FRC.
dev.doglog.internal - package dev.doglog.internal
Internal classes used by DogLog.
dev.doglog.internal.extras - package dev.doglog.internal.extras
 
dev.doglog.internal.tunable - package dev.doglog.internal.tunable
 
DISCONNECTED - Static variable in record class dev.doglog.internal.extras.RadioLogResult
 
div(double) - Method in class dev.doglog.Formula
This divided by a number.
div(Formula) - Method in class dev.doglog.Formula
This divided by other.
div(Measure) - Method in class dev.doglog.Formula
This divided by a measure.
DogLog - Class in dev.doglog
A logger based on WPILib's Telemetry API.
DogLog() - Constructor for class dev.doglog.DogLog
 
DogLogOptions - Record Class in dev.doglog
Options for configuring DogLog.
DogLogOptions() - Constructor for record class dev.doglog.DogLogOptions
Create a new options object using the default options.
DogLogOptions(boolean, boolean, boolean, BooleanSupplier) - Constructor for record class dev.doglog.DogLogOptions
Creates an instance of a DogLogOptions record class.

E

enabled - Static variable in class dev.doglog.DogLog
Whether the logger is enabled.
entry(String) - Static method in class dev.doglog.Condition
A logged boolean entry's value.
entry(String) - Static method in class dev.doglog.Formula
An entry's value.
entry(String, Unit) - Static method in class dev.doglog.Formula
An entry's value in a unit, for entries logged without unit metadata.
entryEquals(String, Enum) - Static method in class dev.doglog.Condition
Whether a logged enum entry's value is value, ex.
entryEquals(String, String) - Static method in class dev.doglog.Condition
Whether a logged string entry's value is exactly value, ex.
epochLogger - Static variable in class dev.doglog.DogLog
 
EpochLogger - Class in dev.doglog.internal
 
EpochLogger() - Constructor for class dev.doglog.internal.EpochLogger
 
equals(Object) - Method in class dev.doglog.Condition
 
equals(Object) - Method in class dev.doglog.Formula
 
equals(Object) - Method in record class dev.doglog.DogLogOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.doglog.internal.extras.RadioLogResult
Indicates whether some other object is "equal to" this one.
ExtrasLogger - Class in dev.doglog.internal.extras
Logs "extra" information.
ExtrasLogger(DogLogOptions) - Constructor for class dev.doglog.internal.extras.ExtrasLogger
 

F

FaultLogger - Class in dev.doglog.internal
Provides the interface for logging faults.
faultsActive() - Static method in class dev.doglog.DogLog
Check if any faults logged using logged using DogLog.logFault(String) are currently active.
faultsActive() - Static method in class dev.doglog.internal.FaultLogger
 
faultsLogged() - Static method in class dev.doglog.DogLog
Check if faults have been logged using DogLog.logFault(String).
faultsLogged() - Static method in class dev.doglog.internal.FaultLogger
 
floor(Formula) - Static method in class dev.doglog.Formula
The value rounded down, for numbers without a unit.
Formula - Class in dev.doglog
A formula that DogLog Studio calculates a computed entry with, from the values of other entries.

G

getEnumStruct(Class) - Method in class dev.doglog.internal.StructRegistry
 
getOptions() - Static method in class dev.doglog.DogLog
Get the options used by the logger.
getRecordStruct(Class) - Method in class dev.doglog.internal.StructRegistry
 
greaterThan(double) - Method in class dev.doglog.Formula
Whether this is more than a number.
greaterThan(Formula) - Method in class dev.doglog.Formula
Whether this is more than other.
greaterThan(Measure) - Method in class dev.doglog.Formula
Whether this is more than a measure.
greaterThanOrEqualTo(double) - Method in class dev.doglog.Formula
Whether this is at least a number.
greaterThanOrEqualTo(Formula) - Method in class dev.doglog.Formula
Whether this is at least other.
greaterThanOrEqualTo(Measure) - Method in class dev.doglog.Formula
Whether this is at least a measure.

H

hashCode() - Method in class dev.doglog.Condition
 
hashCode() - Method in record class dev.doglog.DogLogOptions
Returns a hash code value for this object.
hashCode() - Method in class dev.doglog.Formula
 
hashCode() - Method in record class dev.doglog.internal.extras.RadioLogResult
Returns a hash code value for this object.
hypot(Formula, Formula, Formula...) - Static method in class dev.doglog.Formula
The square root of the sum of the values' squares, ex.

I

integral(Formula) - Static method in class dev.doglog.Formula
The sum of the value over time in seconds, ex.
isConnected() - Method in record class dev.doglog.internal.extras.RadioLogResult
Returns the value of the isConnected record component.
isEnabled() - Static method in class dev.doglog.DogLog
Returns whether the logger is enabled.
isEqualTo(double) - Method in class dev.doglog.Formula
Whether this is exactly a number, see Formula.isNear(Formula, Formula) for measured values.
isEqualTo(Condition) - Method in class dev.doglog.Condition
Whether this is the same as other, both true or both false.
isEqualTo(Formula) - Method in class dev.doglog.Formula
Whether this is exactly other, see Formula.isNear(Formula, Formula).
isEqualTo(Measure) - Method in class dev.doglog.Formula
Whether this is exactly a measure, see Formula.isNear(Formula, Formula).
isNear(double, double) - Method in class dev.doglog.Formula
Whether this is within tolerance of a number, like MathUtil.isNear().
isNear(Formula, Formula) - Method in class dev.doglog.Formula
Whether this is less than tolerance away from other, like MathUtil.isNear().
isNear(Formula, Measure) - Method in class dev.doglog.Formula
Whether this is within tolerance of other, ex.
isNear(Measure, Measure) - Method in class dev.doglog.Formula
Whether this is within tolerance of a measure.
isNotEqualTo(double) - Method in class dev.doglog.Formula
Whether this isn't exactly a number.
isNotEqualTo(Condition) - Method in class dev.doglog.Condition
Whether this is different from other, exactly one of them true.
isNotEqualTo(Formula) - Method in class dev.doglog.Formula
Whether this isn't exactly other.
isNotEqualTo(Measure) - Method in class dev.doglog.Formula
Whether this isn't exactly a measure.

L

lessThan(double) - Method in class dev.doglog.Formula
Whether this is less than a number.
lessThan(Formula) - Method in class dev.doglog.Formula
Whether this is less than other.
lessThan(Measure) - Method in class dev.doglog.Formula
Whether this is less than a measure.
lessThanOrEqualTo(double) - Method in class dev.doglog.Formula
Whether this is at most a number.
lessThanOrEqualTo(Formula) - Method in class dev.doglog.Formula
Whether this is at most other.
lessThanOrEqualTo(Measure) - Method in class dev.doglog.Formula
Whether this is at most a measure.
log(String, boolean) - Static method in class dev.doglog.DogLog
Log a boolean.
log(String, boolean[]) - Static method in class dev.doglog.DogLog
Log a boolean array.
log(String, double) - Static method in class dev.doglog.DogLog
Log a double.
log(String, double[]) - Static method in class dev.doglog.DogLog
Log a double array.
log(String, double[], String) - Static method in class dev.doglog.DogLog
Log a double array with unit metadata.
log(String, double[], Unit) - Static method in class dev.doglog.DogLog
Log a double array with unit metadata.
log(String, double, String) - Static method in class dev.doglog.DogLog
Log a double with unit metadata.
log(String, double, Unit) - Static method in class dev.doglog.DogLog
Log a double with unit metadata.
log(String, float) - Static method in class dev.doglog.DogLog
Log a float.
log(String, float[]) - Static method in class dev.doglog.DogLog
Log a float array.
log(String, float[], String) - Static method in class dev.doglog.DogLog
Log a float array with unit metadata.
log(String, float, String) - Static method in class dev.doglog.DogLog
Log a float with unit metadata.
log(String, int[]) - Static method in class dev.doglog.DogLog
Log an int array.
log(String, long) - Static method in class dev.doglog.DogLog
Log a long.
log(String, long[]) - Static method in class dev.doglog.DogLog
Log a long array.
log(String, long[], String) - Static method in class dev.doglog.DogLog
Log a long array with unit metadata.
log(String, long, String) - Static method in class dev.doglog.DogLog
Log a long with unit metadata.
log(String, E) - Static method in class dev.doglog.DogLog
Log an enum.
log(String, E[]) - Static method in class dev.doglog.DogLog
Log an enum array.
log(String, T) - Static method in class dev.doglog.DogLog
Log a struct or protobuf.
log(String, T[]) - Static method in class dev.doglog.DogLog
Log a struct array.
log(String, Record) - Static method in class dev.doglog.DogLog
Log a record.
log(String, Record[]) - Static method in class dev.doglog.DogLog
Log a record array.
log(String, String) - Static method in class dev.doglog.DogLog
Log a string.
log(String, String[]) - Static method in class dev.doglog.DogLog
Log a string array.
log(String, String, String) - Static method in class dev.doglog.DogLog
Log a string with a custom type string.
log(String, TelemetryLoggable) - Static method in class dev.doglog.DogLog
Log a WPILib telemetry object, such as a Mechanism2d.
logExtras() - Method in record class dev.doglog.DogLogOptions
Returns the value of the logExtras record component.
logFault(Enum) - Static method in class dev.doglog.DogLog
Log a fault and create an error type Alert for it.
logFault(String) - Static method in class dev.doglog.DogLog
Log a fault and create an error type Alert for it.
logFault(String, Alert.Level) - Static method in class dev.doglog.DogLog
Log a fault and create an Alert for it at the specified level.
LOOP_PERIOD_SECONDS - Static variable in record class dev.doglog.DogLogOptions
 

M

max(Formula, Formula, Formula...) - Static method in class dev.doglog.Formula
The largest value, in the first value's unit.
maxOverTime(Formula) - Static method in class dev.doglog.Formula
The largest value since the first one, including the current value.
maxOverTime(Formula, Time) - Static method in class dev.doglog.Formula
The largest value over the last window, including the current value.
min(Formula, Formula, Formula...) - Static method in class dev.doglog.Formula
The smallest value, in the first value's unit.
minOverTime(Formula) - Static method in class dev.doglog.Formula
The smallest value since the first one, including the current value.
minOverTime(Formula, Time) - Static method in class dev.doglog.Formula
The smallest value over the last window, including the current value.
minus(double) - Method in class dev.doglog.Formula
This minus a number.
minus(Formula) - Method in class dev.doglog.Formula
This minus other.
minus(Measure) - Method in class dev.doglog.Formula
This minus a measure.

N

negate() - Method in class dev.doglog.Formula
The negative of this.
not() - Method in class dev.doglog.Condition
Whether this is false.
ntTunables() - Method in record class dev.doglog.DogLogOptions
Returns the value of the ntTunables record component.

O

of(double) - Static method in class dev.doglog.Formula
A number without a unit.
of(double, Unit) - Static method in class dev.doglog.Formula
A number in a unit, ex.
of(Measure) - Static method in class dev.doglog.Formula
A measure, ex.
options - Static variable in class dev.doglog.DogLog
The options to use for the logger.
or(Condition) - Method in class dev.doglog.Condition
Whether this or other is true.

P

plus(double) - Method in class dev.doglog.Formula
This plus a number.
plus(Formula) - Method in class dev.doglog.Formula
This plus other.
plus(Measure) - Method in class dev.doglog.Formula
This plus a measure.
pow(double) - Method in class dev.doglog.Formula
This to the power of a number, an integer when this has a unit.
pow(Formula) - Method in class dev.doglog.Formula
This to the power of exponent, which has no unit.

R

RadioLogResult - Record Class in dev.doglog.internal.extras
 
RadioLogResult(boolean, String) - Constructor for record class dev.doglog.internal.extras.RadioLogResult
Creates an instance of a RadioLogResult record class.
round(Formula) - Static method in class dev.doglog.Formula
The value rounded to the nearest integer, halves away from zero, for numbers without a unit.

S

setEnabled(boolean) - Static method in class dev.doglog.DogLog
Set whether the logger is enabled.
setOptions(DogLogOptions) - Static method in class dev.doglog.DogLog
Update the options used by the logger.
setOptions(DogLogOptions) - Method in class dev.doglog.internal.extras.ExtrasLogger
 
setOptions(DogLogOptions) - Method in class dev.doglog.internal.tunable.TunableManager
 
setPdh(PowerDistribution) - Static method in class dev.doglog.DogLog
Set the PowerDistribution instance to use for logging PDH/PDP data when logging extras is enabled.
setPdh(PowerDistribution) - Method in class dev.doglog.internal.extras.ExtrasLogger
 
sign(Formula) - Static method in class dev.doglog.Formula
-1, 0, or 1 for negative, zero, or positive values, without a unit.
sin(Formula) - Static method in class dev.doglog.Formula
The sine of an angle.
sqrt(Formula) - Static method in class dev.doglog.Formula
The square root, its unit's powers are halved.
statusJson() - Method in record class dev.doglog.internal.extras.RadioLogResult
Returns the value of the statusJson record component.
StructRegistry - Class in dev.doglog.internal
Used internally for working with WPILib Structs.
StructRegistry() - Constructor for class dev.doglog.internal.StructRegistry
 

T

time(Condition) - Static method in class dev.doglog.Formula
The seconds the condition was true the latest time, counting up while it is and keeping that time's length after it ends, ex.
time(String) - Static method in class dev.doglog.DogLog
Start a timer to track how long an operation takes to execute.
time(String, long) - Method in class dev.doglog.internal.EpochLogger
 
timeEnd(String) - Static method in class dev.doglog.DogLog
Stop a timer started with DogLog.time(String) and log the duration in seconds to the specified key.
timeEnd(String, long) - Method in class dev.doglog.internal.EpochLogger
 
times(double) - Method in class dev.doglog.Formula
This times a number.
times(Formula) - Method in class dev.doglog.Formula
This times other.
times(Measure) - Method in class dev.doglog.Formula
This times a measure.
timestamp(String) - Static method in class dev.doglog.DogLog
Log the current FPGA timestamp.
toString() - Method in class dev.doglog.Condition
The formula's text, ex.
toString() - Method in record class dev.doglog.DogLogOptions
Returns a string representation of this record class.
toString() - Method in class dev.doglog.Formula
The formula's text, ex.
toString() - Method in record class dev.doglog.internal.extras.RadioLogResult
Returns a string representation of this record class.
totalTime(Condition) - Static method in class dev.doglog.Formula
The seconds the condition was true since the first value, ex.
tunable(String, boolean) - Static method in class dev.doglog.DogLog
Create a tunable boolean.
tunable(String, boolean, BooleanConsumer) - Static method in class dev.doglog.DogLog
Create a tunable boolean.
tunable(String, double) - Static method in class dev.doglog.DogLog
Create a tunable double.
tunable(String, double[]) - Static method in class dev.doglog.DogLog
Create a tunable double array.
tunable(String, double[], String) - Static method in class dev.doglog.DogLog
Create a tunable double array with unit metadata.
tunable(String, double[], String, Consumer) - Static method in class dev.doglog.DogLog
Create a tunable double array with unit metadata.
tunable(String, double[], Consumer) - Static method in class dev.doglog.DogLog
Create a tunable double array.
tunable(String, double[], Unit) - Static method in class dev.doglog.DogLog
Create a tunable double array with unit metadata.
tunable(String, double[], Unit, Consumer) - Static method in class dev.doglog.DogLog
Create a tunable double array with unit metadata.
tunable(String, double, String) - Static method in class dev.doglog.DogLog
Create a tunable double with unit metadata.
tunable(String, double, String, DoubleConsumer) - Static method in class dev.doglog.DogLog
Create a tunable double with unit metadata.
tunable(String, double, DoubleConsumer) - Static method in class dev.doglog.DogLog
Create a tunable double.
tunable(String, double, Unit) - Static method in class dev.doglog.DogLog
Create a tunable double with unit metadata.
tunable(String, double, Unit, DoubleConsumer) - Static method in class dev.doglog.DogLog
Create a tunable double with unit metadata.
tunable(String, float) - Static method in class dev.doglog.DogLog
Create a tunable float.
tunable(String, float, String) - Static method in class dev.doglog.DogLog
Create a tunable float with unit metadata.
tunable(String, float, String, FloatConsumer) - Static method in class dev.doglog.DogLog
Create a tunable float with unit metadata.
tunable(String, float, Unit) - Static method in class dev.doglog.DogLog
Create a tunable float with unit metadata.
tunable(String, float, Unit, FloatConsumer) - Static method in class dev.doglog.DogLog
Create a tunable float with unit metadata.
tunable(String, float, FloatConsumer) - Static method in class dev.doglog.DogLog
Create a tunable float.
tunable(String, long) - Static method in class dev.doglog.DogLog
Create a tunable integer.
tunable(String, long, String) - Static method in class dev.doglog.DogLog
Create a tunable integer with unit metadata.
tunable(String, long, String, LongConsumer) - Static method in class dev.doglog.DogLog
Create a tunable integer with unit metadata.
tunable(String, long, LongConsumer) - Static method in class dev.doglog.DogLog
Create a tunable integer.
tunable(String, long, Unit) - Static method in class dev.doglog.DogLog
Create a tunable integer with unit metadata.
tunable(String, long, Unit, LongConsumer) - Static method in class dev.doglog.DogLog
Create a tunable integer with unit metadata.
tunable(String, String) - Static method in class dev.doglog.DogLog
Create a tunable string.
tunable(String, String, Consumer) - Static method in class dev.doglog.DogLog
Create a tunable string.
tunable(String, M) - Static method in class dev.doglog.DogLog
Create a tunable from a measure, preserving the user-specified unit.
tunable(String, M, Consumer) - Static method in class dev.doglog.DogLog
Create a tunable from a measure, preserving the user-specified unit.
tunableInterpolatingMap(String, Map.Entry...) - Static method in class dev.doglog.DogLog
Create a tunable interpolating map, ex.
tunableInterpolatingMap(String, Unit, Map.Entry...) - Static method in class dev.doglog.DogLog
Create a tunable interpolating map with unit metadata, for maps whose points use the same unit for x and y.
TunableManager - Class in dev.doglog.internal.tunable
Applies DogLog's enable policy to WPILib tunables.
TunableManager(DogLogOptions) - Constructor for class dev.doglog.internal.tunable.TunableManager
 

U

unwrap(Formula) - Static method in class dev.doglog.Formula
An angle that keeps counting past a full turn instead of wrapping, ex.

W

withCaptureConsole(boolean) - Method in record class dev.doglog.DogLogOptions
Create a new options object, inheriting the configuration from this one, with DogLogOptions.captureConsole set to the provided value.
withCaptureDs(boolean) - Method in record class dev.doglog.DogLogOptions
Create a new options object, inheriting the configuration from this one, with DogLogOptions.captureDs set to the provided value.
withLogExtras(boolean) - Method in record class dev.doglog.DogLogOptions
Create a new options object, inheriting the configuration from this one, with DogLogOptions.logExtras set to the provided value.
withNtTunables(boolean) - Method in record class dev.doglog.DogLogOptions
Create a new options object, inheriting the configuration from this one, with DogLogOptions.ntTunables set to the provided value.
withNtTunables(BooleanSupplier) - Method in record class dev.doglog.DogLogOptions
Create a new options object, inheriting the configuration from this one, with DogLogOptions.ntTunables set to the provided value.
wrap(Formula) - Static method in class dev.doglog.Formula
An angle wrapped to a half turn either way, ex.
A C D E F G H I L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values