Board index FlightGear Development Aircraft Cockpit development

A330-200 with Canvas and other features

Discussion about creating 2d and 3d cockpits.

Re: A330-200 with Canvas and other features

Postby legoboyvdlp » Mon Oct 26, 2015 2:48 pm

Daweed, you miss the point.
By even downloading that file, you participate in illegal activity.
And I am not so sure that even the same format may be used.
So, yes, it must be re-written, and I guess, if we kidnap Omega95 and force him to do it? :P joking aside, I'm sure Peter Brendt is knowledgeable enough about nasal and other things necessary for the job, only he hates Airbuses :P. To quote him, if it is going on a 'bus, I take a bus.
So, possibly artix would be interested in redoing this, BUT you would have to email him.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: A330-200 with Canvas and other features

Postby daweed » Mon Oct 26, 2015 4:39 pm

legoboyvdlp wrote in Mon Oct 26, 2015 2:48 pm:Daweed, you miss the point.
By even downloading that file, you participate in illegal activity.
And I am not so sure that even the same format may be used.
So, yes, it must be re-written, and I guess, if we kidnap Omega95 and force him to do it? :P joking aside, I'm sure Peter Brendt is knowledgeable enough about nasal and other things necessary for the job, only he hates Airbuses :P. To quote him, if it is going on a 'bus, I take a bus.
So, possibly artix would be interested in redoing this, BUT you would have to email him.


To be clear, i didnt have an eyes on the Omega Copyright files just open to look the xml structures to make mines.... and i still have the procedures pack from age where i downloaded the A3xx on his website directly (more than 2 years )
=> i didnt know if the files are still downloadable on the Omega Hangar

Well, i ll try to understand who call who in the nasal file (that the difficult point i am facing)
=> i think i have found functions that need update, but need more skill on nasal to write that

Is there a way to dump nasal executed function when FG is running ? when pressing a button (with the mouse and / or the joystick )

Best regards
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: A330-200 with Canvas and other features

Postby Johan G » Mon Oct 26, 2015 4:46 pm

daweed wrote in Mon Oct 26, 2015 4:39 pm:Is there a way to dump nasal executed function when FG is running ? when pressing a button (with the mouse and / or the joystick )

Have a look in your "$FG_ROOT/Input/Joystick" directory and the FlightGear wiki article section Bindings#nasal.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: A330-200 with Canvas and other features

Postby daweed » Mon Oct 26, 2015 7:30 pm

Johan G wrote in Mon Oct 26, 2015 4:46 pm:
daweed wrote in Mon Oct 26, 2015 4:39 pm:Is there a way to dump nasal executed function when FG is running ? when pressing a button (with the mouse and / or the joystick )

Have a look in your "$FG_ROOT/Input/Joystick" directory and the FlightGear wiki article section Bindings#nasal.


Well, i realise that my last com was not clear.

I don't want to bind on my joystich.

I d like to know what exactly happen (what function are call , order, arguments ...) when i press the "select star" button on the mcdu
=> that should help me to understand how procedures are loaded, and maybe update the script to load from the official <icao>.procedures.xml file.
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: A330-200 with Canvas and other features

Postby legoboyvdlp » Mon Oct 26, 2015 9:00 pm

Anyone managed to get the WXRADAR working? I signed up for an API, but when I try to give FGFS the api key, the canvas dialog just closes immediately after a popup "checking api key".
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: A330-200 with Canvas and other features

Postby dtlan201 » Tue Oct 27, 2015 1:14 am

Not working here
dtlan201
 
Posts: 191
Joined: Sun Sep 29, 2013 4:49 am
Callsign: MIA0774
Version: nightly
OS: Windows 10

Re: A330-200 with Canvas and other features

Postby Hooray » Tue Oct 27, 2015 11:07 am

daweed wrote in Mon Oct 26, 2015 7:30 pm:I d like to know what exactly happen (what function are call , order, arguments ...) when i press the "select star" button on the mcdu
=> that should help me to understand how procedures are loaded, and maybe update the script to load from the official <icao>.procedures.xml file.


Your line of thinking is correct, but also a bit flawed when it comes to fgfs internals.

What you want, is commonly called a "backtrace" - you can get that by running debug.backtrace(); (or its short-hand debug.bt() instead).

And FG will typically be running at >= 30 fps, in other words, triggeer a joystick binding will typically happen several times after clicking the GUI button.

But you can easily edit/change the bindings in the GUI dialog directly.

However, the first step here is not understanding Nasal internals, but to learn how PUI/XML dialogs and fgcommands work - i.e. by looking at Docs in $FG_ROOT (README.gui and README.commands), and the corresponding articles on the wiki.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: A330-200 with Canvas and other features

Postby CaptB » Fri Nov 06, 2015 8:26 pm

Hello folks,

A potential problem with the sounds has been brought to our attention. The A330 dev team ran some test and it seems that for some the sounds are running while for others some of the sounds are not functional.

This might be OS dependant. If you are reading this, and are kind enough, please check for anomalies.Pay attention to the APU, passenger sounds. OH clicks, flaps and engine startup/run spooldown seem to be working for us so those are probably not the ones in need of verification, but you can check anyway.

Please report the OS and problem on PM

Thanks.
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 685
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: A330-200 with Canvas and other features

Postby wkitty42 » Fri Nov 06, 2015 11:30 pm

@CaprB: make sure all your sounds are mono and not stereo... the sound system won't play stereo sounds... if you need sounds from two sides, play them from different 3D positions...
"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: A330-200 with Canvas and other features

Postby CaptB » Sat Nov 07, 2015 1:08 am

wkitty42 wrote in Fri Nov 06, 2015 11:30 pm:@CaprB: make sure all your sounds are mono and not stereo... the sound system won't play stereo sounds... if you need sounds from two sides, play them from different 3D positions...


Negtive, that's not the problem. But I think I managed to pin it down, fix under way.
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 685
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: A330-200 with Canvas and other features

Postby wkitty42 » Sat Nov 07, 2015 2:04 am

GoodDeal<tm> ... it was the first thought that came to mind from the "paper cuts" topic and the discussion about the sounds on the dev list several months back ;)
"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: A330-200 with Canvas and other features

Postby Johan G » Sat Nov 07, 2015 5:40 pm

You probably already thought of this, but if there seem to be an OS dependency it might be due to that some OS:es are case sensitive in path and file names while other are not.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: A330-200 with Canvas and other features

Postby daweed » Sat Nov 07, 2015 11:17 pm

Johan G wrote in Sat Nov 07, 2015 5:40 pm:You probably already thought of this, but if there seem to be an OS dependency it might be due to that some OS:es are case sensitive in path and file names while other are not.


Hello, i advise CaptB about this, but before i had check all of this

* mono sounds
* case file name

Even when changing & correcting some xml sounds file, APU sound doesn't seems to be played
All other sounds seems to be OK

I can hear

APU Bleed sounds is ok
Passengers sounds is ok
Announcements is ok
Engines sounds is ok
OH click is ok
Flaps sounds is ok

touch down sounds when landing are non ok too

Same things happen on A330 / A320
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: A330-200 with Canvas and other features

Postby CaptB » Sat Nov 07, 2015 11:42 pm

Johan G wrote in Sat Nov 07, 2015 5:40 pm:You probably already thought of this, but if there seem to be an OS dependency it might be due to that some OS:es are case sensitive in path and file names while other are not.



This is a strange <max-dist> value issue. Initially, this looks to me like a difference in how OpenAL handles things from version to version(?) and maybe from platform to platform. There is no other explanation why the same <max-dist> value is showing different behaviour among users ( which I understand along with <reference-dist> is handled by OpenAL )
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 685
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: A330-200 with Canvas and other features

Postby legoboyvdlp » Sun Nov 08, 2015 1:54 am

daweed wrote in Sat Nov 07, 2015 11:17 pm:
Johan G wrote in Sat Nov 07, 2015 5:40 pm:You probably already thought of this, but if there seem to be an OS dependency it might be due to that some OS:es are case sensitive in path and file names while other are not.


Hello, i advise CaptB about this, but before i had check all of this

* mono sounds
* case file name

Even when changing & correcting some xml sounds file, APU sound doesn't seems to be played
All other sounds seems to be OK

I can hear

APU Bleed sounds is ok
Passengers sounds is ok
Announcements is ok
Engines sounds is ok
OH click is ok
Flaps sounds is ok

touch down sounds when landing are non ok too

Same things happen on A330 / A320

Win7
Engine ok
OH ok
Bleed OK
Flaps OK
Apu unknown, podsibky too quiet
Pax sounds not heard
Announcments ok
Touchdown, cant remember
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Previous

Return to Cockpit development

Who is online

Users browsing this forum: No registered users and 0 guests