Update from JSBSim
Changed _set_Accels_Pilot_Body to use FGAuxiliary::GetNpilot instead of FGAuxiliary::GetPilotAccel. It looks like a similar change was started but never finished, and there are artifacts still lingering. With this change, the slip/skid ball now works reasonably on the C172 when in motion, but not at rest (that will have to wait for fixes to the gear code).
This commit is contained in:
parent
40c45ee57e
commit
21931e320c
1 changed files with 3 additions and 3 deletions
|
@ -382,9 +382,9 @@ bool FGJSBsim::copy_from_JSBsim() {
|
||||||
Aircraft->GetNcg()(2),
|
Aircraft->GetNcg()(2),
|
||||||
Aircraft->GetNcg()(3) );
|
Aircraft->GetNcg()(3) );
|
||||||
|
|
||||||
_set_Accels_Pilot_Body( Auxiliary->GetPilotAccel()(1),
|
_set_Accels_Pilot_Body( Auxiliary->GetNpilot()(1),
|
||||||
Auxiliary->GetPilotAccel()(2),
|
Auxiliary->GetNpilot()(2),
|
||||||
Auxiliary->GetPilotAccel()(3) );
|
Auxiliary->GetNpilot()(3) );
|
||||||
|
|
||||||
// _set_Accels_Pilot_Body_N( Auxiliary->GetPilotAccel()(1)/32.1739,
|
// _set_Accels_Pilot_Body_N( Auxiliary->GetPilotAccel()(1)/32.1739,
|
||||||
// Auxiliary->GetNpilot(2)/32.1739,
|
// Auxiliary->GetNpilot(2)/32.1739,
|
||||||
|
|
Loading…
Reference in a new issue