Parker Schuh | 4d2978f | 2017-02-25 11:13:06 -0800 | [diff] [blame^] | 1 | syntax = "proto2"; |
| 2 | |
| 3 | package y2017.vision; |
| 4 | |
| 5 | // Represents a target found by the vision processing code. |
| 6 | // X is an estimate of the center of the target. |
| 7 | // Y is an estimate of the top of the bottom retroreflective tape. |
| 8 | message Target { |
| 9 | optional double x = 1; |
| 10 | optional double y = 2; |
| 11 | } |
| 12 | |
| 13 | // Represents the best target in the image if there is such a target |
| 14 | // along with timing information. |
| 15 | message VisionData { |
| 16 | optional int64 image_timestamp = 1; |
| 17 | optional int64 send_timestamp = 2; |
| 18 | optional Target target = 3; |
| 19 | } |