Board index FlightGear Development Aircraft

CRJ700 family goes canvas

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

Re: CRJ700 family goes canvas

Postby D-ECHO » Thu Jan 02, 2020 2:07 pm

@tdammers, oops didn't realize the access hat been set to read-only. All team members should have "Admin" rights now
User avatar
D-ECHO
 
Posts: 2108
Joined: Sat May 09, 2015 12:31 pm

Re: CRJ700 family goes canvas

Postby tdammers » Thu Jan 02, 2020 2:36 pm

Cool, thanks!
tdammers
 
Posts: 327
Joined: Wed Dec 13, 2017 10:35 am
Callsign: NL256
IRC name: nl256

Re: CRJ700 family goes canvas

Postby jsb » Wed Aug 26, 2020 9:02 pm

Finally I managed to upload a release candidate to https://github.com/d-jsb/CRJ700-family
Lots of things have changed, many details were added so don't be frustrated if things are not as easy or obvious as before. Most outstanding upgrade is the canvas based EFIS (PFD, MFD, EICAS). You can pop out each screen into a window. The display selectors on the sidepanels and pedestal panel are also implemented.
Updating the documentation is an open issue, the checklists and one or two tutorials should be quite ok, but I did not verify them lately...
FDM got some overhaul, the approach config used wrong weights leading to much too high lift on landing - should be better now but you need to adjust the trim before takeoff and you really have to pull at Vr to rotate.

Have fun :)
jsb
 
Posts: 263
Joined: Sat Oct 25, 2014 8:17 pm
Location: Hamburg, Germany
Callsign: D-JSB
Version: next
OS: Win7/Linux

Re: CRJ700 family goes canvas

Postby legoboyvdlp » Fri Aug 28, 2020 11:39 am

I appreciate seeing the jsbsim FDM :)

There is a nasal error, on the off-chance you are not aware of it:

Code: Select all
Nasal runtime error: undefined symbol: update_pass_signs
  167.05 [ALRT]:nasal        at C:/Users/redpa/Documents/FlightGear/Custom Aircraft/CRJ700-family/Nasal/master.nas, line 231
  167.06 [ALRT]:nasal        called from: C:/Users/redpa/Documents/FlightGear/Custom Aircraft/CRJ700-family/Nasal/master.nas, line 22
  167.06 [ALRT]:nasal        called from: C:/Users/redpa/Documents/FlightGear/Custom Aircraft/CRJ700-family/Nasal/master.nas, line 30


Unfortunately there's something causing large frame drops which weren't there before in the CRJ700 - it's hard to say what's causing it though.
User avatar
legoboyvdlp
 
Posts: 7705
Joined: Sat Jul 26, 2014 1:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: CRJ700 family goes canvas

Postby tdammers » Fri Aug 28, 2020 4:31 pm

My guess would be some of the canvas stuff - the old CRJ uses absolutely no canvas at all, and much of the PFD and MFD functionality is done in XML, whereas canvas tends to be Nasal-driven.

Judging from the E-Jet, keeping the Nasal code for updating a canvas display fast enough is quite a challenge, and Nasal doesn't exactly have advanced debugging and profiling toolchains available, so it's often a matter of trial-and-error (and with a lot of statistical noise).
tdammers
 
Posts: 327
Joined: Wed Dec 13, 2017 10:35 am
Callsign: NL256
IRC name: nl256

Re: CRJ700 family goes canvas

Postby jsb » Fri Aug 28, 2020 7:02 pm

legoboyvdlp wrote in Fri Aug 28, 2020 11:39 am:I appreciate seeing the jsbsim FDM :)

There is a nasal error, on the off-chance you are not aware of it:

Code: Select all
Nasal runtime error: undefined symbol: update_pass_signs
  167.05 [ALRT]:nasal        at C:/Users/redpa/Documents/FlightGear/Custom Aircraft/CRJ700-family/Nasal/master.nas, line 231
  167.06 [ALRT]:nasal        called from: C:/Users/redpa/Documents/FlightGear/Custom Aircraft/CRJ700-family/Nasal/master.nas, line 22
  167.06 [ALRT]:nasal        called from: C:/Users/redpa/Documents/FlightGear/Custom Aircraft/CRJ700-family/Nasal/master.nas, line 30


Unfortunately there's something causing large frame drops which weren't there before in the CRJ700 - it's hard to say what's causing it though.


Never noticed that one before, thanks for reporting, I will have a look.
Could you quantify the drop in framerate (e.g. old rate vs. new rate)? I spent quite some time and thoughts on minimizing the canvas updates but maybe that does not work in all cases?
jsb
 
Posts: 263
Joined: Sat Oct 25, 2014 8:17 pm
Location: Hamburg, Germany
Callsign: D-JSB
Version: next
OS: Win7/Linux

Re: CRJ700 family goes canvas

Postby jsb » Fri Aug 28, 2020 7:28 pm

Also I noted with "next" / nightly, that the EICAS control panel does not work, presumably due to an issue with emesary or fgcommand. It works for me with 2020.2.1 though
jsb
 
Posts: 263
Joined: Sat Oct 25, 2014 8:17 pm
Location: Hamburg, Germany
Callsign: D-JSB
Version: next
OS: Win7/Linux

Re: CRJ700 family goes canvas

Postby legoboyvdlp » Fri Aug 28, 2020 9:14 pm

The nightly is 2020.2.1; are you compiling on next? If so, yes, the fix to removecommand() appears to be causing a runtime error in emesary (because removecommand() actually works now :D )
User avatar
legoboyvdlp
 
Posts: 7705
Joined: Sat Jul 26, 2014 1:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: CRJ700 family goes canvas

Postby jsb » Sat Aug 29, 2020 7:30 am

Right, the nightly is 2020.2.1 and works. Compiling next shows the error at runtime. I did not read the changes on removecommand yet...
jsb
 
Posts: 263
Joined: Sat Oct 25, 2014 8:17 pm
Location: Hamburg, Germany
Callsign: D-JSB
Version: next
OS: Win7/Linux

Previous

Return to Aircraft

Who is online

Users browsing this forum: danielHL, Google [Bot] and 6 guests