Calculation of angular accelerations #824
Replies: 6 comments 5 replies
-
Are you assuming that |
Beta Was this translation helpful? Give feedback.
-
Also note this distinction. /// Angular velocities of the body with respect to the ECI frame (expressed in the body frame).
FGColumnVector3 vPQRi;
/// Angular velocities of the body with respect to the local frame (expressed in the body frame).
FGColumnVector3 vPQR; PropertyManager->Tie("velocities/p-rad_sec", this, eP, (PMF)&FGPropagate::GetPQR);
PropertyManager->Tie("velocities/q-rad_sec", this, eQ, (PMF)&FGPropagate::GetPQR);
PropertyManager->Tie("velocities/r-rad_sec", this, eR, (PMF)&FGPropagate::GetPQR);
PropertyManager->Tie("velocities/pi-rad_sec", this, eP, (PMF)&FGPropagate::GetPQRi);
PropertyManager->Tie("velocities/qi-rad_sec", this, eQ, (PMF)&FGPropagate::GetPQRi);
PropertyManager->Tie("velocities/ri-rad_sec", this, eR, (PMF)&FGPropagate::GetPQRi); |
Beta Was this translation helpful? Give feedback.
-
I was doing some tests and discovered that the follow variables changes A LOT the value of the angular accelerations
But, looking at the source code, they just change the integration method. |
Beta Was this translation helpful? Give feedback.
-
The matrices Neither of them are accessible using Python unfortunately but this can be added quite easily. |
Beta Was this translation helpful? Give feedback.
-
If you are talking about nullifying <planet>
<rotation_rate> 0.0 </rotation_rate>
</planet> |
Beta Was this translation helpful? Give feedback.
-
Good morning,
I am trying to calculate the angular acceleration using JSBSim output and comparing the answer with the output one.
My inputs:
'velocities/p-rad_sec': -0.008649968842503762
'velocities/q-rad_sec': 0.19870770462160356
'velocities/r-rad_sec': 0.0723236898016243
'moments/l-aero-lbsft': 1895.5918976271505
'moments/m-aero-lbsft': 26534.681031929387
'moments/n-aero-lbsft': -1614.7447248461817
At the JSBSim source code, the formula to calculate the accelerations are:
J is the inertia matrix
Jinv is the inverse inertia matrix
vMoments is the moment vector in the body frame
in.vPQRi is the total inertial angular velocity of the vehicle
in.Ti2b is the ECI to body frame transform
in.vOmegaPlanet is the Earth angular rate - expressed in the inertial frame
How can I get in.Ti2b and in.vOmegaPlanet?
and is there a way to remove the angular rate from JSBSim model?
Could you please help me with that?
Beta Was this translation helpful? Give feedback.
All reactions