blob: 078d7230e50e49fbe775fca4434a1ecffed73c0b [file] [log] [blame]
James Kuszmaulef35d732022-02-12 16:37:32 -08001namespace frc971.controls;
2
3// This provides a minimal output from the localizer that can be forwarded to
4// the roborio and used for corrections to its (simpler) localizer.
5
6table LocalizerOutput {
7 // Timestamp (on the source node) that this sample corresponds with. This
8 // may be older than the sent time to account for delays in sensor readings.
9 monotonic_timestamp_ns:int64 (id: 0);
10 // Current x/y position estimate, in meters.
11 x:double (id: 1);
12 y:double (id: 2);
13 // Current heading, in radians.
14 theta:double (id: 3);
15}
16
17root_type LocalizerOutput;