JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
dive_debug.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3import "dccl/option_extensions.proto";
4
5package jaiabot.protobuf;
6
7message DivePowerDescentDebug
8{
9 option (dccl.msg) = {
10 unit_system: "si"
11 };
12
13 optional double current_depth = 1 [
14 default = 0,
15 (dccl.field) = {
16 precision: 0
17 units { base_dimensions: "L" }
18 }
19 ];
20 optional double last_depth = 2 [
21 default = 0,
22 (dccl.field) = {
23 precision: 0
24 units { base_dimensions: "L" }
25 }
26 ];
27 optional double goal_depth = 3 [
28 default = 0,
29 (dccl.field) = {
30 precision: 0
31 units { base_dimensions: "L" }
32 }
33 ];
34 optional double depth_eps = 4 [
35 default = 0,
36 (dccl.field).units =
37 { base_dimensions: "L" }
38 ];
39 optional uint64 last_depth_change_time = 5 [
40 (dccl.field) = {
41 codec: "dccl.time2"
42 units { prefix: "micro" derived_dimensions: "time" }
43 }];
44 optional double bottoming_timeout = 6 [
45 default = 0,
46 (dccl.field).units = { base_dimensions: "T" }
47 ];
48 optional bool depth_reached = 7 [default = false];
49 optional bool depth_changed = 8 [default = false];
50 optional bool depth_change_timeout = 9 [default = false];
51 optional bool bot_is_diving = 10 [default = false];
52}
53
54message DiveHoldDebug
55{
56 option (dccl.msg) = {
57 unit_system: "si"
58 };
59 optional double current_depth = 1 [
60 default = 0,
61 (dccl.field) = {
62 precision: 0
63 units { base_dimensions: "L" }
64 }
65 ];
66 optional double hold_timeout = 2 [
67 default = 0,
68 (dccl.field).units = { base_dimensions: "T" }
69 ];
70 optional bool dive_complete = 3 [default = false];
71 optional bool hold_complete = 4 [default = false];
72}
73
74message DiveUnpoweredAscentDebug
75{
76 option (dccl.msg) = {
77 unit_system: "si"
78 };
79 optional double current_depth = 1 [
80 default = 0,
81 (dccl.field) = {
82 precision: 0
83 units { base_dimensions: "L" }
84 }
85 ];
86 optional double depth_eps = 2 [
87 default = 0,
88 (dccl.field).units =
89 { base_dimensions: "L" }
90 ];
91 optional double unpowered_ascent_timeout = 3 [
92 default = 0,
93 (dccl.field).units = { base_dimensions: "T" }
94 ];
95 optional bool unpowered_ascent_timed_out = 4 [default = false];
96 optional bool surfaced = 5 [default = false];
97}
98
99message DivePoweredAscentDebug
100{
101 option (dccl.msg) = {
102 unit_system: "si"
103 };
104 optional double current_depth = 1 [
105 default = 0,
106 (dccl.field) = {
107 precision: 0
108 units { base_dimensions: "L" }
109 }
110 ];
111 optional double depth_eps = 2 [
112 default = 0,
113 (dccl.field).units =
114 { base_dimensions: "L" }
115 ];
116 optional bool surfaced = 3 [default = false];
117}
118