Board index FlightGear Support Flying

Error message: "input is NaN"  Topic is solved

Controlling your aircraft, using the autopilot etc.

Re: Error message: "input is NaN"

Postby wlbragg » Mon Nov 13, 2017 8:17 pm

Great!

I did a quick search for itt in the files and couldn't find it. Did you figure out what it is for and where it comes from?
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 3877
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Error message: "input is NaN"

Postby wkitty42 » Mon Nov 13, 2017 8:37 pm

dg-505 wrote in Mon Nov 13, 2017 7:29 pm:In the engine definition file "itt_delay" MUST NOT be 0.0
That seems to cause the NaN error

FWIW: NaN means "Not a Number"... a divide by zero error might return such a result...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 3768
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Error message: "input is NaN"

Postby Alant » Mon Nov 13, 2017 8:57 pm

wlbragg wrote in Mon Nov 13, 2017 8:17 pm:Great!

I did a quick search for itt in the files and couldn't find it. Did you figure out what it is for and where it comes from?


Look in JSBSim FGTurboProp.cpp. ITT is inter turbine temperature.

Alan
Alant
 
Posts: 686
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: Error message: "input is NaN"

Postby dg-505 » Tue Nov 14, 2017 6:05 am

Alant wrote in Mon Nov 13, 2017 8:57 pm:ITT is inter turbine temperature


Yes, you're right.

wkitty42 wrote in Mon Nov 13, 2017 8:37 pm:a divide by zero error might return such a result


Yep, that's also my suspicion, though I wasn't able to find out how ITT gets calculated exactly. My understanding and knowledge of the cpp files isn't good enough for that
It's not just a hobby. I'ts a passion: FLYING !!

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 610
Joined: Mon Jun 02, 2014 2:36 pm
Location: Hessen, Germany
Version: next
OS: Ubuntu 16.04

Re: Error message: "input is NaN"

Postby dg-505 » Wed Nov 15, 2017 7:42 pm

Hi all,

now I experience another problem/strange behaviour:


After a ahort time, the used memory (red line of middle graph) increases rapidly, then the used SWAP memory increases, too. When both are at 100 percent, the system closes FG.
There is no unusual output in the log or the terminal, and this happens neither with the Yasim version of this aircraft nor with any other aircraft.....

Here is the latest development status (still not ready to publish in FGAddon):
https://drive.google.com/file/d/12MFvInoPZSEVRhDTEkONNWmzZYA-8fMW/view?usp=sharing
It's not just a hobby. I'ts a passion: FLYING !!

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 610
Joined: Mon Jun 02, 2014 2:36 pm
Location: Hessen, Germany
Version: next
OS: Ubuntu 16.04

Re: Error message: "input is NaN"

Postby wkitty42 » Wed Nov 15, 2017 9:36 pm

dg-505 wrote in Wed Nov 15, 2017 7:42 pm:After a ahort time, the used memory (red line of middle graph) increases rapidly, then the used SWAP memory increases, too. When both are at 100 percent, the system closes FG.

this (the dieing when all memory is consumed) is normal... i've seen it here and the system became totally unresponsive until i killed FG...

dg-505 wrote in Wed Nov 15, 2017 7:42 pm:There is no unusual output in the log or the terminal, and this happens neither with the Yasim version of this aircraft nor with any other aircraft.....

that would seem to indicate a memory leak in this craft's coding... possibly it is triggering a nasty in nasal space?? purely guessing, though...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 3768
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Error message: "input is NaN"

Postby wlbragg » Wed Nov 15, 2017 9:38 pm

How short a time? I just flew it around a typical circuit and it's still running. Love the sounds of this plane!

I watched your video and it looked like around 2 minutes. I flew longer than that I think.

Took another lap, same run and still no crash. Must have been running over 10 minutes.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 3877
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Error message: "input is NaN"

Postby wkitty42 » Wed Nov 15, 2017 10:20 pm

i got it started and tried to taxi but forgot to get my joystick ready... kinda crunched a static craft trying to figure out how to steer with the keyboard :oops:
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 3768
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Error message: "input is NaN"

Postby dg-505 » Thu Nov 16, 2017 5:53 am

Well, usually it takes not more than 5 minutes...

wkitty42 wrote in Wed Nov 15, 2017 9:36 pm:that would seem to indicate a memory leak in this craft's coding... possibly it is triggering a nasty in nasal space??

I'm also suspecting something like this. But I have almost no chance to track that down......
But I continue digging
It's not just a hobby. I'ts a passion: FLYING !!

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 610
Joined: Mon Jun 02, 2014 2:36 pm
Location: Hessen, Germany
Version: next
OS: Ubuntu 16.04

Previous

Return to Flying

Who is online

Users browsing this forum: No registered users and 2 guests