#include "FGGyro.h"
#include <iostream>
+#include "models/FGAccelerations.h"
+
using namespace std;
namespace JSBSim {
-static const char *IdSrc = "$Id$";
+static const char *IdSrc = "$Id: FGGyro.cpp,v 1.6 2011/07/17 13:51:23 jberndt Exp $";
static const char *IdHdr = ID_GYRO;
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
FGGyro::FGGyro(FGFCS* fcs, Element* element) : FGSensor(fcs, element),
FGSensorOrientation(element)
{
- Propagate = fcs->GetExec()->GetPropagate();
+ Accelerations = fcs->GetExec()->GetAccelerations();
Debug(0);
}
// There is no input assumed. This is a dedicated angular acceleration sensor.
//aircraft rates
- vAccel = mT * Propagate->GetPQRdot();
+ vAccel = mT * Accelerations->GetPQRdot();
Input = vAccel(axis);