JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
ctd.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "dccl/option_extensions.proto";
4import "jaiabot/messages/geographic_coordinate.proto";
5
6package jaiabot.protobuf;
7
8message CTDSnapshot {
9 option (dccl.msg) = {
10 id: 100
11 codec_version: 5
12 unit_system: "si"
13 };
14 optional uint64 time = 1 [
15 (dccl.field) = {
16 codec: "dccl.time"
17 units { prefix: "micro" derived_dimensions: "time" }
18 precision: -6 // second precision
19 }
20 ];
21 // PPT
22 optional double salinity = 2 [(dccl.field) = {
23 units { derived_dimensions: "dimensionless" }
24 }];
25 optional double temperature = 3 [(dccl.field) = {
26 units { derived_dimensions: "temperature" system: "celsius" }
27 }];
28 optional double depth = 4 [(dccl.field) = {
29 units: { derived_dimensions: "length" }
30 }];
31}
32
33message CTDProfile {
34 option (dccl.msg) = {
35 id: 101
36 codec_version: 5
37 unit_system: "si"
38 };
39 optional uint32 bot_id = 1 [
40 (dccl.field) = { min: 0 max: 255 }
41 ];
42 optional GeographicCoordinate location = 2;
43 repeated CTDSnapshot snapshot = 3;
44}