3 import "dccl/option_extensions.proto";
5 package goby.middleware.protobuf;
9 option (dccl.msg).unit_system = "si";
10 required double lat = 1 [(dccl.field) = {units {
11 derived_dimensions: "plane_angle"
12 system: "angle::degree"
14 required double lon = 2 [(dccl.field) = {units {
15 derived_dimensions: "plane_angle"
16 system: "angle::degree"
19 optional double depth = 3
20 [default = 0, (dccl.field) = {units {derived_dimensions: "length"}}];
21 optional double altitude = 4
22 [(dccl.field).units.derived_dimensions = "length", default = nan];
25 // protobuf contents of $GPWPL message
28 optional string name = 1;
29 required LatLonPoint location = 2;
32 // protobuf contents of $GPRTE message
35 optional string name = 1;
36 repeated Waypoint point = 2;