NETSIM  1.0.1
Hardware-in-the-loopacousticnetworksimulator
manager_config.proto
Go to the documentation of this file.
1 syntax="proto2";
2 
3 import "goby/protobuf/option_extensions.proto";
4 import "goby/middleware/protobuf/app_config.proto";
5 import "goby/zeromq/protobuf/interprocess_config.proto";
6 
7 import "goby/middleware/protobuf/serial_config.proto";
8 
9 package netsim.protobuf;
10 
11 message NetSimManagerConfig
12 {
13  optional goby.middleware.protobuf.AppConfig app = 1;
14  optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
15 
16  message SimEnvironmentPair
17  {
18  required int32 modem_tcp_port = 1 [(goby.field).description="TCP port used for connecting to the modem data interface (62000, 62001, etc. on audioserver). This is used as a unique identifier for a given vehicle simulator"];
19  required string endpoint_ip_address = 2 [(goby.field).description="IP address for connecting remote endpoint"];
20  required int32 environment_id = 3 [(goby.field).description="unique id used to map to env_bounds{}"];
21  }
22 
23  repeated SimEnvironmentPair sim_env_pair = 3 [(goby.field).description="repeated for each expected simulated vehicle"];
24 
25  message EnvironmentBounds
26  {
27  required int32 environment_id = 1 [(goby.field).description="unique id for this environment"];
28  required double lat_min = 2 [(goby.field).description="minimum latitude in decimal degrees"];
29  required double lon_min = 3 [(goby.field).description="minimum longitude in decimal degrees"];
30  required double lat_max = 4 [(goby.field).description="maximum latitude in decimal degrees"];
31  required double lon_max = 5 [(goby.field).description="maximum longitude in decimal degrees"];
32  optional double depth_min = 6 [default = 0, (goby.field).description="minimum depth in meters"];
33  required double depth_max = 7 [(goby.field).description="maximum depth in meters"];
34  }
35 
36  repeated EnvironmentBounds env_bounds = 4 [(goby.field).description="validity bounding region of the ocean for each Virtual Ocean environment"];
37 
38  optional uint32 manager_tcp_port = 5 [default = 61999, (goby.field).description="TCP port for netsim_manager Vehicle Simulator interface"];
39 
40  // output
41  message GPSSerialOutput
42  {
43  required int32 modem_tcp_port = 1 [(goby.field).description="Which vehicle to output, as referenced by its modem TCP port set in sim_env_pair{}"];
44  required goby.middleware.protobuf.SerialConfig serial = 2 [(goby.field).description="Output serial settings"];
45  }
46  repeated GPSSerialOutput gps_out = 10 [(goby.field).description="Set if a synthesized $GPRMC GPS message is desired for a given simulated vehicle"];
47 
48 }