X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fslip_skid_ball.hxx;h=1dc1c8916b6e492841f47b48605524e3ca9d9719;hb=caf0138ab35b03bbe7bf367ff2222d0a31be3157;hp=994eb5f8bc79e0732da706a29940543f61a45502;hpb=99aa857dcb7cc803a678cf52811a94d7cc8bd8a7;p=flightgear.git diff --git a/src/Instrumentation/slip_skid_ball.hxx b/src/Instrumentation/slip_skid_ball.hxx index 994eb5f8b..1dc1c8916 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,19 +20,20 @@ * * Input properties: * + * /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 (); @@ -42,13 +41,17 @@ 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; SGPropertyNode_ptr _out_node; - + SGPropertyNode_ptr _override_node; + }; #endif // __INSTRUMENTS_SLIP_SKID_BALL_HXX