blob: 04366db24f52876ee489d0ac2a56cf8037032fbd [file] [log] [blame]
Parker Schuh4d2978f2017-02-25 11:13:06 -08001syntax = "proto2";
2
3package 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 Schuhd497ed62017-03-04 20:11:58 -08008message TargetResult {
Parker Schuh4d2978f2017-02-25 11:13:06 -08009 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 Schuhd497ed62017-03-04 20:11:58 -080015message VisionResult {
Parker Schuh4d2978f2017-02-25 11:13:06 -080016 optional int64 image_timestamp = 1;
17 optional int64 send_timestamp = 2;
Parker Schuhd497ed62017-03-04 20:11:58 -080018 optional TargetResult target = 3;
Parker Schuh4d2978f2017-02-25 11:13:06 -080019}