Skip to content

Commit

Permalink
AP_Common: Define units for locatoin data members
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Dec 7, 2023
1 parent 7e7ac9a commit 4908f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/AP_Common/Location.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class 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)
int32_t alt;
int32_t lat;
int32_t lng;
int32_t alt; // in 1E7 degrees
int32_t lat; // in 1E7 degrees
int32_t lng; // in cm

/// enumeration of possible altitude types
enum class AltFrame {
Expand Down

0 comments on commit 4908f60

Please sign in to comment.