JaiaBot  1.19.0
JaiaBot micro-AUV software
geographic_coordinate.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 import "jaiabot/messages/option_extensions.proto";
5 
6 package jaiabot.protobuf;
7 
8 message GeographicCoordinate
9 {
10  option (dccl.msg).unit_system = "si";
11 
12  required double lat = 1 [
13  (dccl.field) = {
14  min: -90
15  max: 90
16  precision: 6
17  units { derived_dimensions: "plane_angle" system: "angle::degree" }
18  },
19  (jaia.field).rest_api.presence = GUARANTEED
20  ];
21 
22  required double lon = 2 [
23  (dccl.field) = {
24  min: -180
25  max: 180
26  precision: 6
27  units { derived_dimensions: "plane_angle" system: "angle::degree" }
28  },
29  (jaia.field).rest_api.presence = GUARANTEED
30  ];
31 }