Goby v2
bluefin_config.proto
1 
2 import "goby/moos/protobuf/frontseat_config.proto";
3 import "goby/common/protobuf/option_extensions.proto";
4 
5 message BluefinFrontSeatConfig
6 {
7  required string huxley_tcp_address = 1;
8  optional uint32 huxley_tcp_port = 2 [default = 29500];
9  optional uint32 reconnect_interval = 3 [
10  default = 10,
11  (goby.field).description =
12  "How many seconds to wait between reconnects if the Huxley server "
13  "disconnects."
14  ];
15  optional uint32 nmea_resend_attempts = 4 [
16  default = 3,
17  (goby.field).description =
18  "Number of resend attempts for a given NMEA message"
19  ];
20  optional uint32 nmea_resend_interval = 5 [
21  default = 5,
22  (goby.field).description =
23  "How many seconds to wait between resend attempts"
24  ];
25  optional uint32 allowed_nmea_demerits = 6 [
26  default = 3,
27  (goby.field).description =
28  "Number of times Huxley can fail to acknowledge a NMEA message "
29  "before "
30  "we close the connection."
31  ];
32  optional uint32 allow_missing_nav_interval = 7 [
33  default = 5,
34  (goby.field).description =
35  "How many seconds to allow without $BFNVG before declaring "
36  "frontseat "
37  "not providing us data."
38  ];
39  optional uint32 heartbeat_interval = 8 [
40  default = 1,
41  (goby.field).description =
42  "How many seconds between heartbeats (BPSTS)."
43  ];
44 
45  repeated string extra_bplog = 9
46  [(goby.field).description =
47  "Additional Bluefin messages to enable logging for (e.g. for to "
48  "send '$BPLOG,CMA,ON', set this field to 'CMA'"];
49 
50  optional bool send_tmr_messages = 10 [
51  default = true,
52  (goby.field).description =
53  "Send the BPTMR message with acoustic comms contents."
54  ];
55 
56  optional bool disable_ack = 11 [
57  default = false,
58  (goby.field).description =
59  "(Advanced) if true, do not use the BFACK message. Set to true for "
60  "vehicles without the BFACK support. Note that if this field is "
61  "set, "
62  "IFS_COMMAND_RESPONSE messages will not be posted."
63  ];
64 
65  enum AcceptingCommandsHook
66  {
67  BFMSC_TRIGGER = 0;
68  BFMIS_RUNNING_TRIGGER = 1;
69  BFCTL_TRIGGER = 2;
70  }
71 
72  optional AcceptingCommandsHook accepting_commands_hook = 12 [
73  default = BFMSC_TRIGGER,
74  (goby.field).description =
75  "How this driver determines if the Bluefin Huxley is accepting "
76  "commands. BFMSC_TRIGGER means the $BFMSC message receipt "
77  "indicates "
78  "that Huxley is receiving our commands. BFMIS_RUNNING_TRIGGER "
79  "indicates that any $BFMIS (start of mission) that contains the "
80  "word "
81  "'Running' indicates that Huxley is receiving our commands."
82  ];
83 }
84 
85 extend iFrontSeatConfig
86 {
87  optional BluefinFrontSeatConfig bluefin_config = 1000;
88 }