Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 1 | syntax = "proto2"; |
| 2 | |
Parker Schuh | 24ee58d | 2017-03-11 16:13:23 -0800 | [diff] [blame] | 3 | import "aos/vision/image/camera_params.proto"; |
| 4 | |
Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 5 | package y2017.vision; |
| 6 | |
Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 7 | message GameSpecific { |
| 8 | // Needs more woojy. |
| 9 | optional int32 woojy = 1; |
| 10 | } |
| 11 | |
| 12 | // Configurations that may be robot dependent. |
| 13 | message RobotConfig { |
| 14 | // Device name of the camera (ie /dev/video1). |
| 15 | optional string camera_device_path = 1; |
| 16 | |
| 17 | // RoboRIO IP address. |
| 18 | optional string roborio_ipaddr = 2; |
| 19 | |
| 20 | // Jetson board IP address. |
| 21 | optional string jetson_ipaddr = 3; |
| 22 | |
| 23 | // Port to use (both sides). |
| 24 | optional int32 port = 4; |
| 25 | } |
| 26 | |
| 27 | // Stores configuration information for a given set of hardware. |
| 28 | message VisionConfig { |
| 29 | // Map robot name to the robot dependent configuration. |
| 30 | map<string, RobotConfig> robot_configs = 1; |
| 31 | |
Parker Schuh | 24ee58d | 2017-03-11 16:13:23 -0800 | [diff] [blame] | 32 | // Year independent camera parameters. |
| 33 | optional aos.vision.CameraParams camera_params = 3; |
Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 34 | |
| 35 | // Parameters for this specific game |
Parker Schuh | 24ee58d | 2017-03-11 16:13:23 -0800 | [diff] [blame] | 36 | optional GameSpecific game_params = 4; |
Parker Schuh | d497ed6 | 2017-03-04 20:11:58 -0800 | [diff] [blame] | 37 | } |