mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +08:00
[math] LlaCoor_x: lat,lon,alt order
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user