AP_Common: Define units for locatoin data members

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-12-07 00:10:04 -07:00 committed by Peter Hall
parent 7f9992dd24
commit 76861eaa9b
1 changed files with 3 additions and 3 deletions

View File

@ -15,9 +15,9 @@ public:
uint8_t loiter_xtrack : 1; // 0 to crosstrack from center of waypoint, 1 to crosstrack from tangent exit location uint8_t loiter_xtrack : 1; // 0 to crosstrack from center of waypoint, 1 to crosstrack from tangent exit location
// note that mission storage only stores 24 bits of altitude (~ +/- 83km) // note that mission storage only stores 24 bits of altitude (~ +/- 83km)
int32_t alt; int32_t alt; // in cm
int32_t lat; int32_t lat; // in 1E7 degrees
int32_t lng; int32_t lng; // in 1E7 degrees
/// enumeration of possible altitude types /// enumeration of possible altitude types
enum class AltFrame { enum class AltFrame {