Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
UTM (Mercator) projections
+ Collaboration diagram for UTM (Mercator) projections:

Macros

#define E   0.08181919106
 
#define K0   0.9996
 
#define DELTA_EAST   500000.
 
#define DELTA_NORTH   0.
 
#define A   6378137.0
 
#define N   (K0*A)
 
#define LambdaOfUtmZone(utm_zone)   RadOfDeg((utm_zone-1)*6-180+3)
 
#define UtmZoneOfLlaLonRad(lla_lon)   (floor(DegOfRad(lla_lon) + 180) / 6) + 1
 
#define UtmZoneOfLlaLonDeg(lla_lon)   (floor((lla_lon) / 1e7 + 180) / 6) + 1
 

Variables

static const float serie_coeff_proj_mercator [5]
 
static const float serie_coeff_proj_mercator_inverse [5]
 

Detailed Description

Macro Definition Documentation

◆ A

#define A   6378137.0

Definition at line 44 of file pprz_geodetic_utm.h.

◆ DELTA_EAST

#define DELTA_EAST   500000.

Definition at line 42 of file pprz_geodetic_utm.h.

◆ DELTA_NORTH

#define DELTA_NORTH   0.

Definition at line 43 of file pprz_geodetic_utm.h.

◆ E

#define E   0.08181919106

Definition at line 40 of file pprz_geodetic_utm.h.

◆ K0

#define K0   0.9996

Definition at line 41 of file pprz_geodetic_utm.h.

◆ LambdaOfUtmZone

#define LambdaOfUtmZone (   utm_zone)    RadOfDeg((utm_zone-1)*6-180+3)

Definition at line 47 of file pprz_geodetic_utm.h.

◆ N

#define N   (K0*A)

Definition at line 45 of file pprz_geodetic_utm.h.

◆ UtmZoneOfLlaLonDeg

#define UtmZoneOfLlaLonDeg (   lla_lon)    (floor((lla_lon) / 1e7 + 180) / 6) + 1

Definition at line 49 of file pprz_geodetic_utm.h.

◆ UtmZoneOfLlaLonRad

#define UtmZoneOfLlaLonRad (   lla_lon)    (floor(DegOfRad(lla_lon) + 180) / 6) + 1

Definition at line 48 of file pprz_geodetic_utm.h.

Variable Documentation

◆ serie_coeff_proj_mercator

const float serie_coeff_proj_mercator[5]
static
Initial value:
= {
0.99832429842242842444,
0.00083632803657738403,
0.00000075957783563707,
0.00000000119563131778,
0.00000000000241079916
}

Definition at line 51 of file pprz_geodetic_utm.h.

Referenced by lla_of_utm_d(), lla_of_utm_f(), utm_of_lla_d(), and utm_of_lla_f().

◆ serie_coeff_proj_mercator_inverse

const float serie_coeff_proj_mercator_inverse[5]
static
Initial value:
= {
0.998324298422428424,
0.000837732168742475825,
5.90586914811817062e-08,
1.6734091890305064e-10,
2.13883575853313883e-13
}

Definition at line 59 of file pprz_geodetic_utm.h.

Referenced by lla_of_utm_d(), and lla_of_utm_f().