]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/slip_skid_ball.hxx
Make the AI models a bit more intelligent. The Gear should be extended and retracted...
[flightgear.git] / src / Instrumentation / slip_skid_ball.hxx
index 994eb5f8bc79e0732da706a29940543f61a45502..4c11c1df595d75fb489756866044f097ce214b9e 100644 (file)
@@ -11,8 +11,8 @@
 # error This library requires C++
 #endif
 
-#include <simgear/misc/props.hxx>
-#include <Main/fgfs.hxx>
+#include <simgear/props/props.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 #include "gyro.hxx"
 
@@ -22,6 +22,7 @@
  *
  * Input properties:
  *
+ * /instrumentation/slip-skid-ball/serviceable
  * /accelerations/pilot/y-accel-fps_sec
  * /accelerations/pilot/z-accel-fps_sec
  *
@@ -29,7 +30,7 @@
  *
  * /instrumentation/slip-skid-ball/indicated-slip-skid
  */
-class SlipSkidBall : public FGSubsystem
+class SlipSkidBall : public SGSubsystem
 {
 
 public:
@@ -45,10 +46,12 @@ private:
     Gyro _gyro;
     double _last_pos;
 
+    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