JaiaBot  1.20.0
JaiaBot micro-AUV software
configuration.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "nanopb.proto";
4 import "jaiabot/messages/sensor/catalog.proto";
5 import "dccl/option_extensions.proto";
6 
7 package jaiabot.sensor.protobuf;
8 
9 message Configuration
10 {
11  option (dccl.msg) = {
12  unit_system: "si"
13  };
14  required Sensor sensor = 1;
15 
16  optional double sample_freq = 2
17  [(dccl.field) = { units { derived_dimensions: "frequency" } }];
18 
19  message Cfg
20  {
21  required string key = 1 [(nanopb).max_size = 16];
22  required string value = 2 [(nanopb).max_size = 64];
23  }
24  repeated Cfg cfg = 3 [(nanopb).max_count = 16];
25 }