diff --git a/sw/airborne/math/pprz_geodetic_double.h b/sw/airborne/math/pprz_geodetic_double.h index 2c62e31d74..f349958cbd 100644 --- a/sw/airborne/math/pprz_geodetic_double.h +++ b/sw/airborne/math/pprz_geodetic_double.h @@ -52,8 +52,8 @@ struct EcefCoor_d { * @brief vector in Latitude, Longitude and Altitude */ struct LlaCoor_d { - double lon; ///< in radians double lat; ///< in radians + double lon; ///< in radians double alt; ///< in meters above WGS84 reference ellipsoid }; diff --git a/sw/airborne/math/pprz_geodetic_float.h b/sw/airborne/math/pprz_geodetic_float.h index 1ebb61214a..14d7a72142 100644 --- a/sw/airborne/math/pprz_geodetic_float.h +++ b/sw/airborne/math/pprz_geodetic_float.h @@ -52,8 +52,8 @@ struct EcefCoor_f { * @brief vector in Latitude, Longitude and Altitude */ struct LlaCoor_f { - float lon; ///< in radians float lat; ///< in radians + float lon; ///< in radians float alt; ///< in meters above WGS84 reference ellipsoid }; diff --git a/sw/airborne/math/pprz_geodetic_int.h b/sw/airborne/math/pprz_geodetic_int.h index 92f3c0d76f..03dfa301b0 100644 --- a/sw/airborne/math/pprz_geodetic_int.h +++ b/sw/airborne/math/pprz_geodetic_int.h @@ -54,8 +54,8 @@ struct EcefCoor_i { * @brief vector in Latitude, Longitude and Altitude */ struct LlaCoor_i { - int32_t lon; ///< in degrees*1e7 int32_t lat; ///< in degrees*1e7 + int32_t lon; ///< in degrees*1e7 int32_t alt; ///< in millimeters above WGS84 reference ellipsoid };