makerplane / FIX-Gateway

Flight Information eXchange Gateway
GNU General Public License v2.0
9 stars 21 forks source link

Added ROT to DB and repaired xml file. #61

Closed neil-d95 closed 5 years ago

birkelbach commented 5 years ago

The default location for $FG_ROOT in the current version of FlightGear is /usr/share/games/flightgear/ according to the Wiki. I think we should keep this as the default.

Also removing the attribute will cause the database entry to be written in ft/sec^2. This is not correct. The FIX-Gateway database expects this information to be in G's. The reason for the attribute is to make this correction.

neil-d95 commented 5 years ago

Phil,

So I've got no problem with the FG_ROOT.

    We should keep the factoring out until it's is verified corrected in converting from Ft/sec^2 to g. I was getting values too low to be useful 0.0001g then with a hard rudder input. That doesn't jive. I did test with removal of the conversion in the code. This is currently working, and tested with max deflection I only problem is it is way sensitive. I'm 80% sure it is coming from Flight Gear .

On 3/25/19 10:17 PM, Phil Birkelbach wrote:

The default location for $FG_ROOT in the current version of FlightGear is /usr/share/games/flightgear/ according to the Wiki. I think we should keep this as the default.

Also removing the attribute will cause the database entry to be written in ft/sec^2. This is not correct. The FIX-Gateway database expects this information to be in G's. The reason for the attribute is to make this correction.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/makerplane/FIX-Gateway/pull/61#issuecomment-476447550, or mute the thread https://github.com/notifications/unsubscribe-auth/AEjkWROwQnE0RRD1uJ-E6HfQsNd_ZTn_ks5vaYM6gaJpZM4cKOXN.

birkelbach commented 5 years ago

I have checked several sources and all agree that 0.0310809 is the conversion factor from ft/sec/sec to G. This does not need verification. If FlightGear is not sending the correct information then that is another issue. But, I've been watching the accelerations on FG with the Slip/Skid ball and they seem to agree with what I would expect. I get about 2 ft/sec^2 of acceleration with about a ball of deflection. This converted to G with the above factor would be around 0.06 which is pretty close to what I would expect. I also see the correct value in FIX-Gateway.

neil-d95 commented 5 years ago

that wasn't in the conversion factor I saw when I changed it was 9.8 which after I looked was Meter/sec2 if you want to kick it go ahead.

On 3/25/19 11:36 PM, Phil Birkelbach wrote:

I have checked several sources and all agree that 0.0310809 is the conversion factor from ft/sec/sec to G. This does not need verification. If FlightGear is not sending the correct information then that is another issue. But, I've been watching the accelerations on FG with the Slip/Skid ball and they seem to agree with what I would expect. I get about 2 ft/sec^2 of acceleration with about a ball of deflection. This converted to G with the above factor would be around 0.06 which is pretty close to what I would expect. I also see the correct value in FIX-Gateway.

birkelbach commented 5 years ago

I'll pull the latest pyEfis and see what the deal is. Maybe your version of FlightGear is not producing the numbers correctly. I have 2018.3.1 which I don't think is the latest but it's pretty close. I'll let you know what I find.

birkelbach commented 5 years ago

Not merged. ROT changes were made in PR #66