there's no such thing as /sim/time/elapsed-ms --> elapsed-sec
This commit is contained in:
parent
51353ead72
commit
e23c5e49c9
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ FGApproach::FGApproach(){
|
|||
elev_node = fgGetNode("/position/altitude-ft", true);
|
||||
hdg_node = fgGetNode("/orientation/heading-deg", true);
|
||||
speed_node = fgGetNode("/velocities/airspeed-kt", true);
|
||||
etime_node = fgGetNode("/sim/time/elapsed-ms", true);
|
||||
etime_node = fgGetNode("/sim/time/elapsed-sec", true);
|
||||
|
||||
first = true;
|
||||
active_runway = "";
|
||||
|
|
|
@ -61,7 +61,7 @@ SG_USING_STD(string);
|
|||
const int max_planes = 20; // max number of planes on the stack
|
||||
const int max_wp = 10; // max number of waypoints for approach phase
|
||||
const double max_ta = 130; // max turning angle for plane during approach
|
||||
const double tbm = 20000.0; // min time (in ms) between two messages
|
||||
const double tbm = 2.0; // min time (in sec) between two messages
|
||||
const double lfl = 10.0; // length of final leg
|
||||
|
||||
struct PlaneApp {
|
||||
|
|
Loading…
Reference in a new issue