Fate
object Fate
The entry point for logging: a shared FateRegistry and its root table.
Fate.log("batteryVoltage", hardwareMap.voltageSensor.iterator().next().voltage)
val drive = Fate.table("Drive")
drive.log("leftVelocity", left.velocity)
drive.log("pose", follower.pose)Content copied to clipboard
Values go to the backends registered on registry. On a robot, FateLogManager registers one for each OpMode. In a unit test, register a MockFateBackend and read back what was logged.
Everything here forwards to the root table. See FateTable for how values are typed, what a path holds, and what thread safety to expect.