flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
4.97k stars 1.04k forks source link

Payload Settings not reading correctly in OnAirCompany. Payload percentage in flightsim shows NAN% in payload screen. #6497

Open FrPau opened 2 years ago

FrPau commented 2 years ago

Aircraft Version

Experimental

Build info

{
  "built": "2022-01-06T23:06:07+00:00",
  "ref": "experimental",
  "sha": "a24af37d0b08097963c108f3ef7f800e8ec540e0",
  "actor": "aguther",
  "event_name": "manual"
}

Describe the bug

Both developer & experimental version at 7jan22 have a problem with the Payload feature.

I use OnAirCompany to initiate flights.

The Payload setting in the OnAriCompany application which is read from the A320neo FBW indicates values that are 100 or 1000 times smaller than indicated in the plane payload screen. After I try to upload the payload settings from the OnAirCompany application the payload % in the sim shows NAN%.

Expected behavior

This worked fine in the stable version 0.7.3 even in SU7. (However the stable version is not usable anymore since the last update of flightsim on jan 7th 2022.)

Steps to reproduce

Try to retrieve the payload information using the background interfaces and check with the payloads in flightsim. Simulate payload loading using the background interface and validate if the payload settings are uploaded and the payload% is calculated correctly.

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

No response

Benjozork commented 2 years ago

Hello, have you contacted the developer of this third party software ? We cannot support third party applications but we maintain a list of variables that we use when we deviate from the default MSFS variables (something we try to do as little as possible, but it is sometimes impossible to work around some sim limitations):

https://docs.flybywiresim.com/fbw-a32nx/a32nx-api/lvars-events/#templates

donstim commented 2 years ago

The developer and experimental versions no longer support the MSFS 2020 Fuel and Payload user interface, which the OnAir Application appears to depend on. The MSFS 2020 Fuel and Payload UI does not allow us to add certain additional realism features. This is intentional; it is not a bug.

https://docs.flybywiresim.com/fbw-a32nx/feature-guides/loading-fuel-weight/ explains how fuel and payload must be loaded in the A32NX. Currently, the weight per passenger and the associated passenger baggage weight are hardcoded values and cannot be changed. Future updates will allow changes to each of these values and provide a way for OnAir and other 3rd parties to load the airplane within certain constraints (e.g., maximum zero fuel weight, maximum takeoff weight, maximum fuel capacity, maximum cargo capability, etc.).