Telemetry
The entry point for telemetry: a shared TelemetryRegistry and its root table.
Telemetry.log("Battery/Voltage", voltageSensor.voltage)
val drive = Telemetry.table("Drive")
val velocity = drive.doubleTopic("leftVelocity")
velocity.set(left.velocity)
drive.log("pose", follower.pose)Values go to the backends registered on registry. On a robot, NextFTC registers them for each OpMode. In a unit test, register a dev.nextftc.telemetry.backend.MockTelemetryBackend and read back what was logged, or build a TelemetryRegistry of your own.
Everything here forwards to the root table. See TelemetryTable for how values are typed, what a name holds, and what thread safety to expect.
Properties
Functions
Returns the handle for the topic name that holds arrays of booleans.
Returns the handle for the boolean topic name.
Returns the handle for the topic name that holds arrays of doubles.
Returns the handle for the double topic name.
Returns the handle for the topic name that holds arrays of floats.
Returns the handle for the float topic name.