X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fslip_skid_ball.hxx;h=7266cdfce4c2b3033d10adf454bb81fb9eed29f9;hb=3cba94018bf458d4863981a86932060ea9799261;hp=d3e3e076b9922dd126c001a18f53fe84eea049d4;hpb=2119db35c3f596268e2ee21d3cd8c359a85cd1ed;p=flightgear.git diff --git a/src/Instrumentation/slip_skid_ball.hxx b/src/Instrumentation/slip_skid_ball.hxx index d3e3e076b..7266cdfce 100644 --- a/src/Instrumentation/slip_skid_ball.hxx +++ b/src/Instrumentation/slip_skid_ball.hxx @@ -12,8 +12,7 @@ #endif #include - -#include
+#include #include "gyro.hxx" @@ -23,19 +22,20 @@ * * 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 FGSubsystem +class SlipSkidBall : public SGSubsystem { public: + SlipSkidBall ( SGPropertyNode *node ); SlipSkidBall (); virtual ~SlipSkidBall (); @@ -47,11 +47,15 @@ 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