Goby3  3.1.5a
2024.05.23
ufield_sim_driver.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "goby/acomms/protobuf/driver_base.proto";
3 import "goby/acomms/protobuf/modem_message.proto";
4 import "dccl/option_extensions.proto";
5 
6 package goby.moos.ufld.protobuf;
7 
8 message MicroModemMimic
9 {
10  optional string range_request_var = 1 [default = "CRS_RANGE_REQUEST"];
11  optional string range_report_var = 2 [default = "CRS_RANGE_REPORT"];
12 }
13 
14 message Config
15 {
16  optional string moos_server = 1 [default = "localhost"];
17  optional int32 moos_port = 2 [default = 9000];
18 
19  optional string incoming_moos_var = 3 [default = "ACOMMS_UFIELD_DRIVER_IN"];
20  optional string outgoing_moos_var = 4
21  [default = "ACOMMS_UFIELD_DRIVER_OUT"];
22 
23  optional string ufield_outgoing_moos_var = 5
24  [default = "NODE_MESSAGE_LOCAL"];
25 
26  repeated int32 rate_to_bytes = 6;
27 
28  optional string modem_id_lookup_path = 7;
29 
30  optional MicroModemMimic micromodem_mimic = 8;
31 
32  // repeated ModemIdEntry id_entry = 9;
33 }
34 
35 extend goby.acomms.protobuf.DriverConfig
36 {
37  optional Config config = 1300;
38 }
39 
40 enum TransmissionType
41 {
42  BASE_TYPE = 0;
43  UFIELD_DRIVER_POLL = 1;
44 }
45 
46 message Transmission
47 {
48  optional TransmissionType type = 1 [default = BASE_TYPE];
49 
50  // used in UFIELD_DRIVER_POLL message
51  optional int32 poll_src = 2 [(dccl.field).omit = true];
52  optional int32 poll_dest = 3 [(dccl.field).omit = true];
53 }
54 
55 extend goby.acomms.protobuf.ModemTransmission
56 {
57  optional Transmission transmission = 1300;
58 };