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 9: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 and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Error message: "input is NaN"

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

dg-505 wrote in Mon Nov 13, 2017 8: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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Error message: "input is NaN"

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

wlbragg wrote in Mon Nov 13, 2017 9: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: 1219
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: Error message: "input is NaN"

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

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


Yes, you're right.

wkitty42 wrote in Mon Nov 13, 2017 9: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
A mile of road will take you a mile, but a mile of runway will take you everywhere.

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 677
Joined: Mon Jun 02, 2014 3:36 pm
Location: Bonn, Germany
Callsign: dg-505
Version: next
OS: Ubuntu 20.04.4 LTS

Re: Error message: "input is NaN"

Postby dg-505 » Wed Nov 15, 2017 8: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
A mile of road will take you a mile, but a mile of runway will take you everywhere.

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 677
Joined: Mon Jun 02, 2014 3:36 pm
Location: Bonn, Germany
Callsign: dg-505
Version: next
OS: Ubuntu 20.04.4 LTS

Re: Error message: "input is NaN"

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

dg-505 wrote in Wed Nov 15, 2017 8: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 8: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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Error message: "input is NaN"

Postby wlbragg » Wed Nov 15, 2017 10: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 and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Error message: "input is NaN"

Postby wkitty42 » Wed Nov 15, 2017 11: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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Error message: "input is NaN"

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

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

wkitty42 wrote in Wed Nov 15, 2017 10: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
A mile of road will take you a mile, but a mile of runway will take you everywhere.

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 677
Joined: Mon Jun 02, 2014 3:36 pm
Location: Bonn, Germany
Callsign: dg-505
Version: next
OS: Ubuntu 20.04.4 LTS

Previous

Return to Flying

Who is online

Users browsing this forum: No registered users and 4 guests