Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
ufield_sim_driver.proto
Go to the documentation of this file.
1syntax = "proto2";
2import "goby/acomms/protobuf/driver_base.proto";
3import "goby/acomms/protobuf/modem_message.proto";
4import "dccl/option_extensions.proto";
5
6package goby.moos.ufld.protobuf;
7
8message 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
14message 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
35extend goby.acomms.protobuf.DriverConfig
36{
37 optional Config config = 1300;
38}
39
40enum TransmissionType
41{
42 BASE_TYPE = 0;
43 UFIELD_DRIVER_POLL = 1;
44}
45
46message 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
55extend goby.acomms.protobuf.ModemTransmission
56{
57 optional Transmission transmission = 1300;
58};