- Messages
- 531
- Country
I don't know if this post should be here or in the "aircraft design" section.
My question is about the aircraft "logic", to know where it is located. What I mean here is the code that is executed to manage some aircraft system that is not related to any display. I am especially interested in the A320 Neo. I saw all the gauges that have a display are coded in JavaScript, all the code is available in "asobo-vcockpit-instruments-..." folders, even the rudder trim is defined there because it has an LCD display. That is fine.
But I can't find the code that manages the systems, for example:
I could find any JavaScript code for this, I couldn't find any WASM either and I don't think this is modeled in the behaviors, but I may be wrong.
Is it hard-coded in the sim itself? Is it protected in .spb files? Is it accessible for us?
Any information is welcome.
Thanks,
Eric
My question is about the aircraft "logic", to know where it is located. What I mean here is the code that is executed to manage some aircraft system that is not related to any display. I am especially interested in the A320 Neo. I saw all the gauges that have a display are coded in JavaScript, all the code is available in "asobo-vcockpit-instruments-..." folders, even the rudder trim is defined there because it has an LCD display. That is fine.
But I can't find the code that manages the systems, for example:
- Flaps: in configuration 1+F, when you reach the max speed of 215 kts, they automatically retract to config 1
- Autothrust: when you take-off, engine thrust is reduced when you reach the altitude of 1500 ft
- Fly by wire: the flight envelope protection and auto-trim automatically act of the flight controls.
I could find any JavaScript code for this, I couldn't find any WASM either and I don't think this is modeled in the behaviors, but I may be wrong.
Is it hard-coded in the sim itself? Is it protected in .spb files? Is it accessible for us?
Any information is welcome.
Thanks,
Eric