# error This library requires C++
#endif
-#include <simgear/misc/props.hxx>
+#include <simgear/props/props.hxx>
+
#include <Main/fgfs.hxx>
+#include "gyro.hxx"
+
/**
* Model a vacuum-powered heading indicator.
* Input properties:
*
* /instrumentation/heading-indicator/serviceable
+ * /instrumentation/heading-indicator/spin
* /instrumentation/heading-indicator/offset-deg
* /orientation/heading-deg
* /systems/vacuum[0]/suction-inhg
private:
- double _spin;
+ Gyro _gyro;
double _last_heading_deg;
- SGPropertyNode_ptr _serviceable_node;
SGPropertyNode_ptr _offset_node;
SGPropertyNode_ptr _heading_in_node;
SGPropertyNode_ptr _suction_node;