JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
turner__c_fluor.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "dccl/option_extensions.proto";
4import "jaiabot/messages/sensor/catalog.proto";
5
6package jaiabot.sensor.protobuf;
7
8enum CFluorAnalytes
9{
10 CDOM = 0;
11 Chlorophyll_Blue = 1;
12 Chlorophyll_Red = 2;
13 Fluorescein = 3;
14 Crude_Oil = 4;
15 Optical_Brighteners = 5;
16 Phycocyanin = 6;
17 Phycoerythrin = 7;
18 Rhodamine_WT = 8;
19 Tryptophan = 9;
20 Turbidity = 10;
21}
22
23enum CFluorUnits
24{
25 ppb = 0;
26 ug_per_L = 1;
27 NTU = 2;
28 ppb_PTSA = 3;
29 ppb_Uvitex = 4;
30 ppbPC = 5;
31 ppbPE = 6;
32 ppb_QSU = 7;
33}
34
35message TurnerCFluor
36{
37 option (dccl.msg) = {
38 unit_system: "si"
39 };
40
41 // notional - add units and additional fields as needed
42 optional double concentration = 1;
43 optional double concentration_voltage = 2;
44 optional SensorInstance instance = 3 [default = INSTANCE_1];
45 // set by the driver from this instance's coefficients, never by the MCU
46 optional CFluorAnalytes analyte = 4;
47 optional CFluorUnits units = 5;
48 optional int32 serial_number = 6;
49}
50
51message FluorCoefficients
52{
53 optional double offset = 1;
54 optional double coefficient = 2;
55 optional int32 serial_number = 3;
56 // what this probe measures, e.g. "Chlorophyll-a"
57 optional CFluorAnalytes analyte = 4;
58 optional CFluorUnits units = 5;
59}
60
61