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. |
Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 8 | message TargetResult { |
Parker Schuh | 4d2978f | 2017-02-25 11:13:06 -0800 | [diff] [blame] | 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. |
Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 15 | message VisionResult { |
Parker Schuh | 4d2978f | 2017-02-25 11:13:06 -0800 | [diff] [blame] | 16 | optional int64 image_timestamp = 1; |
| 17 | optional int64 send_timestamp = 2; |
Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 18 | optional TargetResult target = 3; |
Parker Schuh | 4d2978f | 2017-02-25 11:13:06 -0800 | [diff] [blame] | 19 | } |