milind-u | 9219598 | 2022-01-22 20:29:31 -0800 | [diff] [blame] | 1 | namespace y2022.vision; |
| 2 | |
| 3 | // Contains the information the EKF wants from blobs from a single image. |
| 4 | table TargetEstimate { |
| 5 | // Horizontal distance from the camera to the center of the upper hub |
| 6 | distance:double (id: 0); |
| 7 | // Angle from the camera to the target (horizontal angle in rad). |
| 8 | // Positive means right of center, negative means left. |
| 9 | angle_to_target:double (id: 1); |
| 10 | |
| 11 | // TODO(milind): add confidence and blob stats |
| 12 | } |
milind-u | f2f59aa | 2022-01-23 21:06:12 -0800 | [diff] [blame^] | 13 | |
| 14 | root_type TargetEstimate; |