28 lines
		
	
	
		
			849 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			849 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| syntax = "proto3";
 | |
| package aman;
 | |
| 
 | |
| message Coordinate {
 | |
|     double latitude  = 1; // WGS84 latitude in degrees
 | |
|     double longitude = 2; // WGS84 longitude in degrees
 | |
| }
 | |
| 
 | |
| message WindData {
 | |
|     int32 altitude  = 1; // The altitude of the wind data
 | |
|     int32 direction = 2; // The wind direction
 | |
|     int32 speed     = 3; // The wind speed
 | |
| }
 | |
| 
 | |
| message Waypoint {
 | |
|     string name             = 1; // The waypoint's name
 | |
|     string pta              = 2; // The planned time of arrival (YYYY-MM-DD HH:MM:SS)
 | |
|     int32 altitude          = 3; // The target altitude
 | |
|     int32 indicatedAirspeed = 4; // The target indicated airspeed
 | |
|     int32 groundSpeed       = 5; // The target ground speed
 | |
| }
 | |
| 
 | |
| message Dynamics {
 | |
|     int32 groundSpeed   = 1; // given in knots
 | |
|     int32 altitude      = 2; // given in feet
 | |
|     int32 verticalSpeed = 3; // given in feet/min
 | |
| }
 |