#endif
#include <simgear/sg_inlines.h>
+#include <simgear/math/SGMath.hxx>
-#include "mag_compass.hxx"
#include <Main/fg_props.hxx>
#include <Main/util.hxx>
+#include "mag_compass.hxx"
+
MagCompass::MagCompass ( SGPropertyNode *node )
: _error_deg(0.0),
void
MagCompass::init ()
{
- string branch;
+ std::string branch;
branch = "/instrumentation/" + _name;
SGPropertyNode *node = fgGetNode(branch.c_str(), _num, true );