blob: 55015075bacb7941560ced66b01f1c898e228503 [file] [log] [blame]
Parker Schuhd497ed62017-03-04 20:11:58 -08001syntax = "proto2";
2
Parker Schuh24ee58d2017-03-11 16:13:23 -08003import "aos/vision/image/camera_params.proto";
4
Parker Schuhd497ed62017-03-04 20:11:58 -08005package y2017.vision;
6
Parker Schuhd497ed62017-03-04 20:11:58 -08007message GameSpecific {
8 // Needs more woojy.
9 optional int32 woojy = 1;
10}
11
12// Configurations that may be robot dependent.
13message 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.
28message VisionConfig {
29 // Map robot name to the robot dependent configuration.
30 map<string, RobotConfig> robot_configs = 1;
31
Parker Schuh24ee58d2017-03-11 16:13:23 -080032 // Year independent camera parameters.
33 optional aos.vision.CameraParams camera_params = 3;
Parker Schuhd497ed62017-03-04 20:11:58 -080034
35 // Parameters for this specific game
Parker Schuh24ee58d2017-03-11 16:13:23 -080036 optional GameSpecific game_params = 4;
Parker Schuhd497ed62017-03-04 20:11:58 -080037}