blob: 154dd2ec9d4a39d4a23b5d66c9eb9bd14709eda4 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2019.control_loops.drivetrain;
2
3// See the Target structure in //y2019/jevois:structures.h for documentation.
4table CameraTarget {
5 distance:float;
6 height:float;
7 heading:float;
8 skew:float;
9}
10
11// Frames from a camera.
12table CameraFrame {
13 // Number of nanoseconds since the aos::monotonic_clock epoch at which this
14 // frame was captured.
15 timestamp:long;
16
17 // Buffer for the 3 targets.
18 targets:[CameraTarget];
19
20 // Index of the camera position (not serial number) which this frame is from.
21 camera:ubyte;
22}
23
24root_type CameraFrame;