|
1 | 1 | syntax = "proto2"; |
2 | 2 |
|
3 | 3 | message SSL_DetectionBall { |
| 4 | + // Confidence in [0-1] of the detection |
4 | 5 | required float confidence = 1; |
5 | 6 | optional uint32 area = 2; |
| 7 | + // X-coordinate in [mm] in global ssl-vision coordinate system |
6 | 8 | required float x = 3; |
| 9 | + // Y-coordinate in [mm] in global ssl-vision coordinate system |
7 | 10 | required float y = 4; |
| 11 | + // Z-coordinate in [mm] in global ssl-vision coordinate system |
| 12 | + // Not supported by ssl-vision, but might be set by simulators |
8 | 13 | optional float z = 5; |
| 14 | + // X-coordinate in [pixel] in the image |
9 | 15 | required float pixel_x = 6; |
| 16 | + // Y-coordinate in [pixel] in the image |
10 | 17 | required float pixel_y = 7; |
11 | 18 | } |
12 | 19 |
|
13 | 20 | message SSL_DetectionRobot { |
| 21 | + // Confidence in [0-1] of the detection |
14 | 22 | required float confidence = 1; |
| 23 | + // Id of the robot |
15 | 24 | optional uint32 robot_id = 2; |
| 25 | + // X-coordinate in [mm] in global ssl-vision coordinate system |
16 | 26 | required float x = 3; |
| 27 | + // Y-coordinate in [mm] in global ssl-vision coordinate system |
17 | 28 | required float y = 4; |
| 29 | + // Orientation in [rad] |
18 | 30 | optional float orientation = 5; |
| 31 | + // X-coordinate in [pixel] in the image |
19 | 32 | required float pixel_x = 6; |
| 33 | + // Y-coordinate in [pixel] in the image |
20 | 34 | required float pixel_y = 7; |
| 35 | + // Height, as configured in ssl-vision for the respective team |
21 | 36 | optional float height = 8; |
22 | 37 | } |
23 | 38 |
|
24 | 39 | message SSL_DetectionFrame { |
25 | | - required uint32 frame_number = 1; |
26 | | - required double t_capture = 2; |
27 | | - required double t_sent = 3; |
28 | | - required uint32 camera_id = 4; |
29 | | - repeated SSL_DetectionBall balls = 5; |
30 | | - repeated SSL_DetectionRobot robots_yellow = 6; |
31 | | - repeated SSL_DetectionRobot robots_blue = 7; |
| 40 | + // monotonously increasing frame number |
| 41 | + required uint32 frame_number = 1; |
| 42 | + // Unix timestamp in [seconds] at which the image has been received by ssl-vision |
| 43 | + required double t_capture = 2; |
| 44 | + // Unix timestamp in [seconds] at which this message has been sent to the network |
| 45 | + required double t_sent = 3; |
| 46 | + // Camera timestamp in [seconds] as reported by the camera, if supported |
| 47 | + // This is not necessarily a unix timestamp |
| 48 | + optional double t_capture_camera = 8; |
| 49 | + // Identifier of the camera |
| 50 | + required uint32 camera_id = 4; |
| 51 | + // Detected balls |
| 52 | + repeated SSL_DetectionBall balls = 5; |
| 53 | + // Detected yellow robots |
| 54 | + repeated SSL_DetectionRobot robots_yellow = 6; |
| 55 | + // Detected blue robots |
| 56 | + repeated SSL_DetectionRobot robots_blue = 7; |
32 | 57 | } |
0 commit comments