]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/attitude_indicator.hxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Instrumentation / attitude_indicator.hxx
index 26196eb032170ce753fcec0d75549ea9137a1f29..db68dd98bda7ba75e96fd4b26620a3fcc06bd073 100644 (file)
 # 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 attitude indicator.
  *
  * Input properties:
  *
+ * /instrumentation/attitude-indicator/config/tumble-flag
  * /instrumentation/attitude-indicator/serviceable
- * /instrumentation/attitude-indicator/spin
+ * /instrumentation/attitude-indicator/caged-flag
+ * /instrumentation/attitude-indicator/tumble-norm
  * /orientation/pitch-deg
  * /orientation/roll-deg
  * /systems/vacuum[0]/suction-inhg
@@ -32,6 +37,7 @@
  *
  * /instrumentation/attitude-indicator/indicated-pitch-deg
  * /instrumentation/attitude-indicator/indicated-roll-deg
+ * /instrumentation/attitude-indicator/tumble-norm
  */
 class AttitudeIndicator : public FGSubsystem
 {
@@ -48,11 +54,16 @@ public:
 
 private:
 
-    SGPropertyNode_ptr _serviceable_node;
-    SGPropertyNode_ptr _spin_node;
+    Gyro _gyro;
+
+    SGPropertyNode_ptr _tumble_flag_node;
+    SGPropertyNode_ptr _caged_node;
+    SGPropertyNode_ptr _tumble_node;
     SGPropertyNode_ptr _pitch_in_node;
     SGPropertyNode_ptr _roll_in_node;
     SGPropertyNode_ptr _suction_node;
+    SGPropertyNode_ptr _pitch_int_node;
+    SGPropertyNode_ptr _roll_int_node;
     SGPropertyNode_ptr _pitch_out_node;
     SGPropertyNode_ptr _roll_out_node;