]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/slip_skid_ball.hxx
NavDisplay enhancements for Syd.
[flightgear.git] / src / Instrumentation / slip_skid_ball.hxx
index 4c11c1df595d75fb489756866044f097ce214b9e..1dc1c8916b6e492841f47b48605524e3ca9d9719 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,9 +41,11 @@ public:
 
 private:
 
-    Gyro _gyro;
     double _last_pos;
 
+    std::string _name;
+    int _num;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _y_accel_node;
     SGPropertyNode_ptr _z_accel_node;