blob: 2d95c3c21c366f3b9c087ec8a6f235fb6c18b1bd [file] [log] [blame]
Brian Silverman2ccf8c52016-03-15 00:22:26 -04001package y2016.vision;
2
3message VisionStatus {
Austin Schuhc65b0ea2016-03-16 22:09:19 -07004 bool left_image_valid;
5 bool right_image_valid;
Brian Silverman2ccf8c52016-03-15 00:22:26 -04006 // Times when the images were taken as nanoseconds on CLOCK_MONOTONIC on the
7 // TK1.
8 int64_t left_image_timestamp;
9 int64_t right_image_timestamp;
10 // Times when the images were sent from the TK1 as nanoseconds on the TK1's
11 // CLOCK_MONOTONIC.
12 int64_t left_send_timestamp;
13 int64_t right_send_timestamp;
14
15 // Horizontal angle of the goal in radians.
16 // TODO(Brian): Figure out which way is positive.
17 double horizontal_angle;
18 // Vertical angle of the goal in radians.
19 // TODO(Brian): Figure out which way is positive.
20 double vertical_angle;
21 // Distance to the target in meters.
22 double distance;
23};
24queue VisionStatus vision_status;