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 authored and IamPete1 committed Dec 20, 2023
1 parent 7f9992d commit 76861ea
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 cm
int32_t lat; // in 1E7 degrees
int32_t lng; // in 1E7 degrees

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

0 comments on commit 76861ea

Please sign in to comment.