X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fslip_skid_ball.hxx;h=1dc1c8916b6e492841f47b48605524e3ca9d9719;hb=caf0138ab35b03bbe7bf367ff2222d0a31be3157;hp=d8ed245c02897724d40bfdb824a14cccb31d147d;hpb=980012e1682fdb27c9b9ec27edea0b549d603f9d;p=flightgear.git diff --git a/src/Instrumentation/slip_skid_ball.hxx b/src/Instrumentation/slip_skid_ball.hxx index d8ed245c0..1dc1c8916 100644 --- a/src/Instrumentation/slip_skid_ball.hxx +++ b/src/Instrumentation/slip_skid_ball.hxx @@ -14,28 +14,26 @@ #include #include -#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,14 +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