2012-03-10 15:38:45 -04:00
|
|
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
|
|
|
|
|
|
|
|
#ifndef AP_Declination_h
|
|
|
|
#define AP_Declination_h
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Adam M Rivera
|
|
|
|
* With direction from: Andrew Tridgell, Jason Short, Justin Beech
|
|
|
|
*
|
|
|
|
* Adapted from: http://www.societyofrobots.com/robotforum/index.php?topic=11855.0
|
|
|
|
* Scott Ferguson
|
|
|
|
* scottfromscott@gmail.com
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class AP_Declination
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static float get_declination(float lat, float lon);
|
|
|
|
};
|
|
|
|
|
2012-03-11 06:53:22 -03:00
|
|
|
#endif // AP_Declination_h
|