Board index FlightGear Development Aircraft

C-182S JSBSim FGCondition; Fuel system unrecognized tag

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby pb321 » Thu Apr 01, 2021 3:00 pm

I just updated from an early version of FG 2020.4.0 to yesterday's nightly version (2020.4 of March 31). I was running the C182S on the early version but after updating I now consistently get the following error and when I click "OK", FlightGear crashes.
Dialog box indicating the error:
Code: Select all
JSBSim FGCondition: unrecognized tag:'switch'

Last part of similar message in log:
Code: Select all
systems/fuel.xml: line 71

Is this a bug or is the problem on my end?
pb321
 
Posts: 424
Joined: Sun Nov 27, 2016 5:08 pm
Version: 2020.4.0
OS: Windows 10 Pro

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby benih » Thu Apr 01, 2021 3:10 pm

Which C182 version do you use?

I run the latest git version, and don't have this issue.
I have FG next from commit b8bc8301f9d1cca1e1d3b42050e9055e4202e11d
Date: Fri Feb 12 22:29:09 2021 +0000

Edit: I ask, because line 71 in my fuel.xml is a comment. The FGAddon version is a little outdated by now, and we already are working towards a new release there.


Maybe there is an issue with JSBSim code changes causing this?
User avatar
benih
 
Posts: 1679
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby benih » Thu Apr 01, 2021 3:53 pm

The FGAddon versions seems to be OK too.

Then it might some JSBsim related thing.
User avatar
benih
 
Posts: 1679
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby pb321 » Thu Apr 01, 2021 4:00 pm

Thank you @benih! I think you've hit the nail on the head. The version I have been using is the (an ?) fgaddon version. I moved to an fgaddon/trunk version and it worked just fine. I'm not sure how I got these versions, as it's been a long time, but I do update whenever an update appears in FG.

Another thing I noticed is that the aircraft icon in the canvas map is not displayed (in either version I'm using). This is probably not related to the error at all and it occurs with the C172 as well. I will check other aircraft.
Last edited by pb321 on Thu Apr 01, 2021 4:37 pm, edited 1 time in total.
pb321
 
Posts: 424
Joined: Sun Nov 27, 2016 5:08 pm
Version: 2020.4.0
OS: Windows 10 Pro

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby benih » Thu Apr 01, 2021 4:23 pm

Great that it works again!

pb321 wrote in Thu Apr 01, 2021 4:00 pm:Another thing I noticed is that the aircraft icon in the canvas map is not displayed (in either version I'm using).

No idea about that :( But that doesn't look related to the specific plane, doesn't it?
User avatar
benih
 
Posts: 1679
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby pb321 » Thu Apr 01, 2021 5:31 pm

Definitely unrelated to the C182S, as no aircraft I've tried displays in the "regular" map as it has in the past. I mistakenly thought it was the Cavas map. Anyway, thanks again for your help! I'll mark the issue as fixed.
pb321
 
Posts: 424
Joined: Sun Nov 27, 2016 5:08 pm
Version: 2020.4.0
OS: Windows 10 Pro

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby benih » Thu Apr 01, 2021 7:10 pm

To get sure i also rechecked the latest c182s git version with todays fgfs-next.
=> Works like intended.

How do you like the 182s?
User avatar
benih
 
Posts: 1679
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby pb321 » Thu Apr 01, 2021 7:21 pm

The C182S is a very nice plane. I fly mostly smaller non-jet aircraft and it is one of the best, seemingly most realistic I've tried (I say "seemingly" only because I've only flow C150/C152s in real life. You and your team has done excellent work! Thank you all!
pb321
 
Posts: 424
Joined: Sun Nov 27, 2016 5:08 pm
Version: 2020.4.0
OS: Windows 10 Pro

Re: C-182S JSBSim FGCondition; Fuel system unrecognized tag

Postby benih » Thu Apr 01, 2021 7:34 pm

I Appreciate your feedback!
User avatar
benih
 
Posts: 1679
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit


Return to Aircraft

Who is online

Users browsing this forum: No registered users and 4 guests