define the first version of the protocol buffers

This commit is contained in:
Sven Czarnian
2021-08-08 20:50:50 +02:00
parent d8219d8d8f
commit 2f7a1d1e19
4 changed files with 62 additions and 0 deletions

18
BaseTypes.proto Normal file
View File

@@ -0,0 +1,18 @@
syntax = "proto3";
package vatger.aman;
message Coordinate {
string latitude = 1; // WGS84 latitude in degrees
string longitude = 2; // WGS84 longitude in degrees
}
message Dynamics {
int32 groundSpeed = 1; // given in knots
int32 altitude = 2; // given in feet
int32 verticalSpeed = 3; // given in feet/min
}
message Time {
int32 hour = 1; // hours in 24-format
int32 minute = 2; // minutes
}