]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/slip_skid_ball.hxx
James Turner:
[flightgear.git] / src / Instrumentation / slip_skid_ball.hxx
index d8ed245c02897724d40bfdb824a14cccb31d147d..3a95b115a6c0b679a071380cd51233744d217f71 100644 (file)
 #include <simgear/props/props.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 
-#include "gyro.hxx"
-
 
 /**
  * Model a slip-skid ball.
  *
  * Input properties:
  *
- * /instrumentation/slip-skid-ball/serviceable
+ * /instrumentation/"name"/serviceable
  * /accelerations/pilot/y-accel-fps_sec
  * /accelerations/pilot/z-accel-fps_sec
  *
  * Output properties:
  *
- * /instrumentation/slip-skid-ball/indicated-slip-skid
+ * /instrumentation/"name"/indicated-slip-skid
  */
 class SlipSkidBall : public SGSubsystem
 {
 
 public:
 
-    SlipSkidBall ();
+    SlipSkidBall ( SGPropertyNode *node );
     virtual ~SlipSkidBall ();
 
     virtual void init ();
@@ -43,14 +41,17 @@ public:
 
 private:
 
-    Gyro _gyro;
     double _last_pos;
 
+    string _name;
+    int _num;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _y_accel_node;
     SGPropertyNode_ptr _z_accel_node;
     SGPropertyNode_ptr _out_node;
-    
+    SGPropertyNode_ptr _override_node;
+   
 };
 
 #endif // __INSTRUMENTS_SLIP_SKID_BALL_HXX