Betrand Coconnier: fix bugs #47,#184: roll/pitch/speed via command-line
Specifying initial roll, pitch and speed should be working again.
This commit is contained in:
parent
287cc74965
commit
32b69f823a
1 changed files with 6 additions and 6 deletions
|
@ -268,15 +268,15 @@ FGInterface::bind ()
|
||||||
// Orientation
|
// Orientation
|
||||||
fgTie("/orientation/roll-deg", this,
|
fgTie("/orientation/roll-deg", this,
|
||||||
&FGInterface::get_Phi_deg,
|
&FGInterface::get_Phi_deg,
|
||||||
&FGInterface::set_Phi_deg);
|
&FGInterface::set_Phi_deg, false);
|
||||||
fgSetArchivable("/orientation/roll-deg");
|
fgSetArchivable("/orientation/roll-deg");
|
||||||
fgTie("/orientation/pitch-deg", this,
|
fgTie("/orientation/pitch-deg", this,
|
||||||
&FGInterface::get_Theta_deg,
|
&FGInterface::get_Theta_deg,
|
||||||
&FGInterface::set_Theta_deg);
|
&FGInterface::set_Theta_deg, false);
|
||||||
fgSetArchivable("/orientation/pitch-deg");
|
fgSetArchivable("/orientation/pitch-deg");
|
||||||
fgTie("/orientation/heading-deg", this,
|
fgTie("/orientation/heading-deg", this,
|
||||||
&FGInterface::get_Psi_deg,
|
&FGInterface::get_Psi_deg,
|
||||||
&FGInterface::set_Psi_deg);
|
&FGInterface::set_Psi_deg, false);
|
||||||
fgSetArchivable("/orientation/heading-deg");
|
fgSetArchivable("/orientation/heading-deg");
|
||||||
fgTie("/orientation/track-deg", this,
|
fgTie("/orientation/track-deg", this,
|
||||||
&FGInterface::get_Track);
|
&FGInterface::get_Track);
|
||||||
|
@ -331,11 +331,11 @@ FGInterface::bind ()
|
||||||
// LaRCSim are fixed (LaRCSim adds the
|
// LaRCSim are fixed (LaRCSim adds the
|
||||||
// earth's rotation to the east velocity).
|
// earth's rotation to the east velocity).
|
||||||
fgTie("/velocities/speed-north-fps", this,
|
fgTie("/velocities/speed-north-fps", this,
|
||||||
&FGInterface::get_V_north, &FGInterface::set_V_north);
|
&FGInterface::get_V_north, &FGInterface::set_V_north, false);
|
||||||
fgTie("/velocities/speed-east-fps", this,
|
fgTie("/velocities/speed-east-fps", this,
|
||||||
&FGInterface::get_V_east, &FGInterface::set_V_east);
|
&FGInterface::get_V_east, &FGInterface::set_V_east, false);
|
||||||
fgTie("/velocities/speed-down-fps", this,
|
fgTie("/velocities/speed-down-fps", this,
|
||||||
&FGInterface::get_V_down, &FGInterface::set_V_down);
|
&FGInterface::get_V_down, &FGInterface::set_V_down, false);
|
||||||
|
|
||||||
fgTie("/velocities/north-relground-fps", this,
|
fgTie("/velocities/north-relground-fps", this,
|
||||||
&FGInterface::get_V_north_rel_ground);
|
&FGInterface::get_V_north_rel_ground);
|
||||||
|
|
Loading…
Add table
Reference in a new issue