Skip to content

Instantly share code, notes, and snippets.

@mgravell
Created September 9, 2016 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgravell/4967b490d40f13300919b018af23b282 to your computer and use it in GitHub Desktop.
Save mgravell/4967b490d40f13300919b018af23b282 to your computer and use it in GitHub Desktop.
message RacetrackParams {
}
message RoutePattern {
}
message StagingOrbit {
}
message Tuple_Int32_LandingPattern {
optional int32 Item1 = 1;
optional LandingPattern Item2 = 2;
}
message Tuple_Int32_RacetrackParams {
optional int32 Item1 = 1;
optional RacetrackParams Item2 = 2;
}
message Tuple_Int32_StagingOrbit {
optional int32 Item1 = 1;
optional StagingOrbit Item2 = 2;
}
enum UAVCondition {
GOOD = 0;
CAUTION = 1;
ERROR = 2;
INVALID = 3;
UNKNOWN = 4;
}
message UAVState {
optional AircraftType AircraftType = 1 [default = NOT_SPECIFIED];
optional bool AllMatch = 2 [default = false];
optional double AltM = 3 [default = 0];
optional float AltVelMS = 4 [default = 0];
optional float AltimeterInHg = 5;
optional string AltimeterInHgString = 6;
optional AutonomyMode AutonomousMode = 7 [default = MANUAL];
optional uint32 AutonomyVersionHash = 8 [default = 0];
optional string AutonomyVersionString = 9;
optional AutonomyVersions AutonomyVersions = 10;
optional uint32 AutopilotBoardSerialNum = 11 [default = 0];
optional float AutopilotBoardTempC = 12 [default = 0];
optional float AutopilotCPULoadPercent = 13 [default = 0];
optional APMode AutopilotMode = 14 [default = FLYING];
optional uint32 AuxHealth = 15 [default = 0];
optional bool AuxHealthBatteryGood = 16 [default = false];
optional bool AuxHealthGPSGood = 17 [default = false];
optional bool AuxHealthMotorArmGood = 18 [default = false];
optional bool AuxHealthNavigationGood = 19 [default = false];
optional bool AuxHealthSystemGood = 20 [default = false];
optional bool AuxHealthVehicleGood = 21 [default = false];
optional float AvionicsBatteryVoltage = 22 [default = 0];
optional int32 BatteryCapacityPercent = 23 [default = 0];
repeated bcl.DateTime BroadcastPositionUpdateTimes = 24;
optional float BroadcastPositionUpdatesPerSecond = 25 [default = 0];
optional int32 CmdSeqID = 26 [default = 0];
optional double CommandedAirSpeedMS = 27 [default = 0];
optional double CommandedBankAngleDeg = 28 [default = 0];
optional UAVCondition Condition = 29 [default = GOOD];
repeated Tuple_Int32_RacetrackParams FlightPatterns = 30;
optional bool FlightPatternsMatch = 31 [default = false];
optional int32 GPSSatellites = 32 [default = 0];
optional int32 GPSSatellitesVisible = 33 [default = 0];
optional uint32 GPS_ITOW = 34 [default = 0];
optional float GPS_PDOP = 35 [default = 0];
optional Geofence Geofence = 36;
optional bool GeofenceMatch = 37 [default = false];
optional float GroundSpeedMS = 38 [default = 0];
optional int32 ID = 39 [default = 0];
optional bcl.DateTime LandedTime = 40;
optional string LandedTimeString = 41;
repeated Tuple_Int32_LandingPattern LandingPatterns = 42;
optional bool LandingPatternsMatch = 43 [default = false];
optional bcl.DateTime LastAttitudeTime = 44;
optional string LastCommand = 45;
optional bcl.DateTime LastInvalidGPSTime = 46;
optional bcl.DateTime LastLocationUpdateTime = 47;
optional bcl.DateTime LastUpdateTime = 48;
optional bcl.DateTime LastYawTime = 49;
optional double LatDeg = 50 [default = 0];
optional float LatVelMS = 51 [default = 0];
optional bcl.DateTime LaunchTime = 52;
optional bool LaunchTimeSet = 53 [default = false];
optional string LaunchTimeString = 54;
optional int32 LeaderID = 55 [default = 0];
optional double LonDeg = 56 [default = 0];
optional float LonVelMS = 57 [default = 0];
optional StagingOrbit LostCommsWaypoint = 58;
optional int32 LostCommsWaypointID = 59 [default = 0];
optional bool LostCommsWaypointMatch = 60 [default = false];
optional float MainBatteryVoltage = 61 [default = 0];
optional MissionLimits MissionLimitSettings = 62;
optional bool MissionLimitsMatch = 63 [default = false];
optional float PayloadBoardTempC = 64 [default = 0];
optional float PayloadCPULoadPercent = 65 [default = 0];
optional int64 PeerPose = 66 [default = 0];
optional string PeerPoseBitString = 67;
repeated PiccoloWaypoint PiccoloWaypoints = 68;
optional bool PiccoloWaypointsMatch = 69 [default = false];
optional bcl.DateTime PingTime = 70;
optional double PitchDeg = 71 [default = 0];
optional float PitchVelDegS = 72 [default = 0];
optional PreflightStatusEnum PreflightStatus = 73 [default = SOME];
optional int32 RPM = 74 [default = 0];
repeated bcl.DateTime RelayPositionUpdateTimes = 75;
optional float RelayPositionUpdatesPerSecond = 76 [default = 0];
optional double RollDeg = 77 [default = 0];
optional float RollVelDegS = 78 [default = 0];
repeated RoutePattern RoutePatterns = 79;
optional bool RoutePatternsMatch = 80 [default = false];
optional float SNR = 81 [default = 0];
optional StagingOrbit SafeWaypoint = 82;
optional int32 SafeWaypointID = 83 [default = 0];
optional bool SafeWaypointMatch = 84 [default = false];
optional float ServoVoltage = 85 [default = 0];
optional Geofence SoftGeofence = 86;
optional bool SoftGeofenceMatch = 87 [default = false];
optional bool SomeMatch = 88 [default = false];
optional double SpeedMS = 89 [default = 0];
optional int32 SquadronID = 90 [default = 0];
optional int32 SquadronPosition = 91 [default = 0];
optional int32 SquadronSize = 92 [default = 0];
optional bool SquadronSizeMatch = 93 [default = false];
optional int32 StagingLeaderID = 94 [default = 0];
repeated Tuple_Int32_StagingOrbit StagingOrbits = 95;
optional bool StagingOrbitsMatch = 96 [default = false];
optional BehaviorState State = 97 [default = STAGING];
optional BehaviorState State1 = 98 [default = STAGING];
optional string TailNumber = 99;
optional double TrackErrorXM = 100 [default = 0];
optional double TrackErrorYM = 101 [default = 0];
optional double TrackErrorZM = 102 [default = 0];
optional bool VersionsMatch = 103 [default = false];
optional int32 WaypointID = 104 [default = 0];
optional float WindEastMS = 105 [default = 0];
optional float WindNorthMS = 106 [default = 0];
optional double YawDeg = 107 [default = 0];
optional float YawVelDegS = 108 [default = 0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment