X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fslip_skid_ball.hxx;h=3a95b115a6c0b679a071380cd51233744d217f71;hb=bb2b03c7e392e107aeaf7dbc4eecc59064b28512;hp=4c11c1df595d75fb489756866044f097ce214b9e;hpb=4a5961ca5b4d978a1749bbf1ca50d48562993624;p=flightgear.git diff --git a/src/Instrumentation/slip_skid_ball.hxx b/src/Instrumentation/slip_skid_ball.hxx index 4c11c1df5..3a95b115a 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,9 +41,11 @@ 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;