X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fslip_skid_ball.hxx;h=3a95b115a6c0b679a071380cd51233744d217f71;hb=ad13e4f3b42c53410cb695d2dd0083af77addb2e;hp=14010af025c9a5892862f8c0ce908affd8f74308;hpb=95e3e9d28bd46855aea5055c6eb8cc67feba0703;p=flightgear.git diff --git a/src/Instrumentation/slip_skid_ball.hxx b/src/Instrumentation/slip_skid_ball.hxx index 14010af02..3a95b115a 100644 --- a/src/Instrumentation/slip_skid_ball.hxx +++ b/src/Instrumentation/slip_skid_ball.hxx @@ -11,10 +11,8 @@ # error This library requires C++ #endif -#include -#include
- -#include "gyro.hxx" +#include +#include /** @@ -22,20 +20,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 (); + 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