Board index FlightGear Development Aircraft Systems

747 8i startup issue  Topic is solved

Modeling aircraft systems, like electrical stuff, hydraulics, pneumatics? Feel free to ask support.

Re: 747 8i startup issue

Postby TheEagle » Sun Nov 28, 2021 1:28 pm

Weird tho that the autostart worked perfectly fine for me - and I did get tyresmoke !
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: 747 8i startup issue

Postby Volador » Sun Nov 28, 2021 1:57 pm

a linux/windows thing? I have no idea.
User avatar
Volador
 
Posts: 1140
Joined: Tue Sep 01, 2020 4:58 pm
Callsign: Volador, G-VLDR
Version: 2020.4
OS: Windows 10, 64 bit

Re: 747 8i startup issue

Postby wkitty42 » Sun Nov 28, 2021 2:07 pm

the answer to that may be in which file is that routine being loaded from and where does that routine reside...
"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: 747 8i startup issue

Postby Volador » Sun Nov 28, 2021 3:26 pm

Well, in the meantime I'm going to make hay while the sun shines and celebrate by flying into Kansas City Intl Airport from Chicago, I promise not to dump fuel over your house wlbragg ;) One thing I can't guarantee is staying on the centreline on landing with the new rudder pedals if anyone is around to watch the fun in about 1 hr
User avatar
Volador
 
Posts: 1140
Joined: Tue Sep 01, 2020 4:58 pm
Callsign: Volador, G-VLDR
Version: 2020.4
OS: Windows 10, 64 bit

Re: 747 8i startup issue

Postby Volador » Sun Nov 28, 2021 4:52 pm

Departing Chicago, everything ok
Image

At altitude on route
Image

Decending into Kansas - Das ist nicht gut - where has the ground gone? Is there a wizard (of oz) at play perhaps?
Image

Yes, there is a wizard at play! I'm going into a black hole in the FG universe!
Image

Phew! I turned off photoscenery, that seems to have cured it (even though I didn't have scenery for the area...
Image

Safe to say I did *not* stay on the centreline (as predicted) but didn't quite cut the grass - rudders that were set ok for a 182 are far too twitchy for the 747 (here at least) - I'll try the sensitivity setting on the joysticks button assignment menu but the last time I tried a value of 0.9 it started some very digital behaviour swinging from +1 to -1 at the slightest touch...
User avatar
Volador
 
Posts: 1140
Joined: Tue Sep 01, 2020 4:58 pm
Callsign: Volador, G-VLDR
Version: 2020.4
OS: Windows 10, 64 bit

Re: 747 8i startup issue

Postby wlbragg » Sun Nov 28, 2021 5:18 pm

Nice, and thank you for not starting any more grass fires by your dump!

I'm experiencing another issue with photo scenery. In some locations I am getting inconsistent shader effects over the photo scenery, I guess. Only at certain angles the texture, I guess a part of the shader overlay, turns black. I noticed it first somewhere over the Hawaiian Islands.

The tiresmoke, or tyresmoke as it is written, resides in fgdata/nasal. I'm on Windows. I didn't try my Linux build. It does look to be a path issue, but why I don't know.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7587
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: 747 8i startup issue

Postby Volador » Sun Nov 28, 2021 5:43 pm

I just checked in Program Files/FlightGear 2020.4/data/nasal and tyresmoke.nas is not present here (Windows 10) is that the location you're referring to? Re the black textures, V12 mentioned turning off Overlay cured it and it's a temporary solution to the visuals.
[edit] and the rudder sensitivity is a factor of reduction so I was going the wrong way, a setting of 3.0 seems to be better, weather or not it will improve the landings in this monster is a separate matter :/
User avatar
Volador
 
Posts: 1140
Joined: Tue Sep 01, 2020 4:58 pm
Callsign: Volador, G-VLDR
Version: 2020.4
OS: Windows 10, 64 bit

Re: 747 8i startup issue

Postby wlbragg » Sun Nov 28, 2021 6:43 pm

Actually it's in fgdata/nasal/aircraft the function is tyresmoke_system.

The code flow is...

747-8-main.xml loads nasal line 534 Aircraft/747-8i/Nasal/system.nas

system.nas line 389 loads aircraft.tyresmoke_system.new(0, 1, 2, 3, 4);

tyresmoke_system line 985 is in fgdata/nasal/aircraft.nas which gets loaded by default on nasal init in the simulator

So aircraft.tyresmoke_system.new should be correct. But if something else is braking nasal loading, then fgdata/nasal/aircraft.nas may not be getting loaded and thus causing a nasal error that cascades and breaks the nasal loading chain.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7587
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: 747 8i startup issue

Postby wlbragg » Mon Nov 29, 2021 5:35 am

Looking into this a bit farther, at the actual location of the failure,
C:/FlightGearBuild/install/flightgear/fgdata/Nasal/aircraft.nas, line 932
What is happening is that the property me.filtered_touchdown is never initialized anywhere.
Code: Select all
      if (me.wow != me.lastwow){
         if (me.wow){
            me.lpf_touchdown.set(math.abs(me.vert_speed));
         }
      }
      else me.filtered_touchdown = me.lpf_touchdown.filter(0);

      # touchdown smoke when
      # * recently touched down
      # * rollspeed must be over the limit
      # * friction must be over a limit (no idea why this is 0.7)
      # * moving at ground speed > 50kts (not sure about this)
      # * not raining
      # possibly using ground speed is somewhat irrelevant - but I'm leaving that here
      # as it may filter out unwanted smoke.
      if (me.filtered_touchdown > 1.0


This portion of the code is the only place it is referenced. The else statement will initialize it if that condition is met. But otherwise, if it reaches the if(me.filtered...... statement, without executing the else statement, then it will fail because filtered_touchdown has no value.

To test this I added me.touchdown = 0; to the code and it kept the error from happening.
Code: Select all
      me.touchdown = 0;
      if (me.wow != me.lastwow){
         if (me.wow){
            me.lpf_touchdown.set(math.abs(me.vert_speed));
         }
      }
      else me.filtered_touchdown = me.lpf_touchdown.filter(0);

      # touchdown smoke when
      # * recently touched down
      # * rollspeed must be over the limit
      # * friction must be over a limit (no idea why this is 0.7)
      # * moving at ground speed > 50kts (not sure about this)
      # * not raining
      # possibly using ground speed is somewhat irrelevant - but I'm leaving that here
      # as it may filter out unwanted smoke.
      if (me.filtered_touchdown > 1.0
Last edited by wlbragg on Mon Nov 29, 2021 5:48 pm, edited 1 time in total.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7587
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: 747 8i startup issue

Postby V12 » Mon Nov 29, 2021 1:46 pm

Volador wrote in Sun Nov 28, 2021 5:43 pm:Re the black textures, V12 mentioned turning off Overlay cured it and it's a temporary solution to the visuals./

Yes, it is only work around, not final solution.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Previous

Return to Systems

Who is online

Users browsing this forum: No registered users and 1 guest