JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
configuration.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "nanopb.proto";
4import "jaiabot/messages/sensor/catalog.proto";
5import "dccl/option_extensions.proto";
6
7package jaiabot.sensor.protobuf;
8
9message 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}