scott-vincent / instrument-panel

An instrument panel for Microsoft Flight Simulator 2020
173 stars 29 forks source link

instrument panel compiled Ok, V test working on all gauges, but with MSFS needles move randomly #45

Closed airmassimo closed 2 years ago

airmassimo commented 2 years ago

Hi Scott, I compiled latest version of your extraordinary code, and all went smoothly, the "V" test works perfectly, all gauges updates correctly according to the value set by left-right arrows, so all seemed Ok. When I launch MSFS though, the needles move randomly, eg. the ADI rotates on bank angle even if the plane is still on the ground, and the airspeed doesn't move. Altimeter baro setting rotates frantically but other needles stay still. Compass rotates continuously. Only RPM seems to work perfectly. I tested the panel with the G58. The pre-compiled version works perfectly. I attach my compiled version, just in case you would like to give it a try. I can't find a perfect match between the data-link and the panel release number, one is 6.3, the other is 6.4 or 6.5.. Release.zip My target would be to slightly modify some gauge in order to make it more similiar to the one on the airplane I'm using!

scott-vincent commented 2 years ago

Ah yes, sorry. The versions are out of step and I found some source I had locally that isn't in Github. Please pull the latest instrument-data-link source and rebuild, then it should all work.

Sorry about that.

airmassimo commented 2 years ago

YEES! Now it works perfectly, thanks a lot! Well, now I have a mountain to climb... but I'll start from a simple gauge (maybe the IAS) and try to create a new one changing bitmaps and the angle progression, then I'll try to do something more difficult (I would like to create a standby gauge for A320 Neo, that is a sort of little pfd). Just one more question : in a picture of your beautiful cockpit you have 2 gauges on the left that seem on 2 tablets, what software are they running on ? Are they driven by Raspberry or what ? And you also have a CDU/FMC on the right, I am searching things like those!

scott-vincent commented 2 years ago

I'm glad it's working now. Was my fault for not checking in my changes. The 2 tablets are both Android tablets. The one on the left is connected to the PC via a USB lead and acts as a 4th PC monitor by using free software called Spacedesk. I then "pop-out" the 2 instruments from the FBW A320neo (or Cessna or DA62 or whatever plane I'm flying) using the FS2020 feature where you hold down the ALT GR key on the keyboard and click on some guages in the cockpit. You can then drag the popped out instruments to another monitor so I drag it from my 3 main monitors onto the Android screen. The second tablet is just running a browser and using the excellent FBW A32NX feature to display the MCDU in the Chrome browser so it just connects over Wifi (the server part runs on the main PC and is included with the FBW A32NX download).

airmassimo commented 2 years ago

Thanks, I'm also using spacedesk and popup gauges. but I thought you were flying a small prop plane in that picture, not an A320! I would like to create some sort of "generic" pfd, with ADI, IAS, ALT, VSI and heading... maybe it's far too difficult for my current skills, I programmed a lot of gauges for my FSX models (XB70, G91Y, X15, B47, RA5C Vigilante, etc) but I used mostly xml. I'm really enjoying your panel, thanks for sharing it!