GPS coördinates
hi,
i'm building copy of frustromantic box http://newbrightidea.com/?p=15
i have 1 question gps location in code.
this part of code
i understand earth_radius , deg_to_rad fixed values.
tofino_lat , tofino_lon destination coördinates
but xxx_lat , xxxx_lon mean?
and same home_lat , home_lon?
i'm building copy of frustromantic box http://newbrightidea.com/?p=15
i have 1 question gps location in code.
this part of code
code: [select]
#define earth_radius 6378.1f
#define deg_to_rad 0.0174532925f
#define tofino_lat 49.122444f
#define tofino_lon 125.900871f
#define xxxx_lat 0.0f
#define xxxx_lon 0.0f
#define home_lat 64.0f
#define home_lon 128.0fi understand earth_radius , deg_to_rad fixed values.
tofino_lat , tofino_lon destination coördinates
but xxx_lat , xxxx_lon mean?
and same home_lat , home_lon?
did try this?
and way, if use arduino floating point functions, you're going lose precision. expect small variations read on gps-receiver.
korman
code: [select]
#define xxxx_lat 50.985991f
#define xxxx_lon 5.359998f
and way, if use arduino floating point functions, you're going lose precision. expect small variations read on gps-receiver.
korman
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > GPS coördinates
arduino
Comments
Post a Comment