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
5.14k stars 1.12k forks source link

LVARS for all doors - Support for SimShaker for Aviators #9533

Open f4l0 opened 2 days ago

f4l0 commented 2 days ago

Aircraft Version

Stable

Description

Hey Team,

I'm the dev of SimShaker for Aviators, a telemetric-based feedback software. I'm currently adding a detailed representation of your A320 and A380 to my software. To model a good door open/close effect, I would like to get the state of the doors. I only found LVARS for the cargo door, but not the cabin doors. Can you give me a hint or add the LVARS?

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

f4l0

tracernz commented 2 days ago

Do the interactive point simvars the sim provides not work for you? That is what we used, and that's generally preferable to needing custom local vars for every aircraft when they're suitable for the task.

f4l0 commented 2 days ago

SimVars would be better, but I was not able to find one for the doors. Any idea which variable I could use?

Maximilian-Reuter commented 1 day ago

SimVars would be better, but I was not able to find one for the doors. Any idea which variable I could use?

the one you are looking for is "INTERACTIVE POINT OPEN" which you can index for all doors we have

f4l0 commented 1 day ago

Great! Never tested this simvar :-) Thx

f4l0 commented 1 day ago

I just played around with the values and they are somehow still not in sync...

e.g. INTERACTIVE POINT OPEN:5 looks like if it is used for the forward cargo door in the A320. However, the SimVar value does not match the animation. The LVAR A320NX_FWD_DOOR_CARGO_POSITION looks more suitable.

f4l0 commented 23 hours ago

I'm now using a mix of lvars and simconnect vars to get the door state...

Since you guys are experts in SimVars. Do you know if there is a simvar I could you to detect if the tug is connected or not? I guess this might be a nice effect as well...