c172p-team / c172p

A high detailed version of the Cessna 172P aircraft for FlightGear
GNU General Public License v2.0
82 stars 43 forks source link

Magnetic Compass enhancements #1462

Closed hbeni closed 1 year ago

hbeni commented 1 year ago

Magnetic Compass enhanced

(Ported over from the c182s)

wlbragg commented 1 year ago

Wow. thanks @hbeni you've been busy. I take a look at everything you've done and get it merged when I get a free moment.

hbeni commented 1 year ago

Cool, maybe the animation and stuck-conditions need revision, but i think the current values are reasonable. And these are easily to be changed just by parameters. Currently enjoying the changes at Grenchen/GA-Wednesday and it looks good to me :)

hbeni commented 1 year ago

Wow. thanks @hbeni you've been busy. I take a look at everything you've done and get it merged when I get a free moment.

When you try it, notice the following things:

hbeni commented 1 year ago

Also, you really should consider adding the Compass correction card card to the cockpit somewhere (or the compass itfself); the values are the same as for the c182 (is i took the initial deviation table from the 172 :) Notice: the version in master differs from the one in the compassDeviation branch (there was a correction at the easterly setting))

wlbragg commented 1 year ago

So is the compass deviation card something a pilot simply refers to so they know how much offset to apply to the compass readout? The compass has no calibration dial to set it to read accurately?

wlbragg commented 1 year ago

I also read the mailing list thread related to this. I guess we are not going to do this in c++ for now with

config/has-pivot and config/max-pivot-angle to select this behaviour on / off

wlbragg commented 1 year ago

@hbeni

I'm a bit confused, I saw the compass deviation card in the c182. You don't have a magnetic compass like the 172 does (on top of the dash) I see how that applies to that compass. If you want to fly 90 then you set coarse to 92. But what about the compass on the panel, that has a calibration knob, yet looking at the card, it is different deviations for different headings, so one calibration change wouldn't apply to all?

How do you use that card in the c182?

hbeni commented 1 year ago

So is the compass deviation card something a pilot simply refers to so they know how much offset to apply to the compass readout? The compass has no calibration dial to set it to read accurately?

No, it is a simple magnetic compass. This gets calibrated from a technican (by adjudting the compendator magnets), and the remaining error is noted on the deviation card. The Card shows the error that can not be corrected away.

hbeni commented 1 year ago

I also read the mailing list thread related to this. I guess we are not going to do this in c++ for now with

config/has-pivot and config/max-pivot-angle to select this behaviour on / off

I also don‘t think it will be added shortly. Hence this addition.

hbeni commented 1 year ago

@hbeni

I'm a bit confused, I saw the compass deviation card in the c182. You don't have a magnetic compass like the 172 does (on top of the dash) I see how that applies to that compass. If you want to fly 90 then you set coarse to 92. But what about the compass on the panel, that has a calibration knob, yet looking at the card, it is different deviations for different headings, so one calibration change wouldn't apply to all?

Are you refering to the Directional gyro? That must be calibrated against the magnetic Compass; and its not the instrument in question here. Every plane needs a simple magnetic compass by regulation. The 172p has it mounted to the top of the panel and the 182 has it mounted to the windshield.

How do you use that card in the c182?

The card applies to the mag compass only. It basicly tells you: „when the plane flies a magnetic heading of 90, the compass will show 94 because of all the metal of the plane and the avionics electricity“. So, „to fly heading 90, steer 94 (on the mag compass)“.

wlbragg commented 1 year ago

OK, thanks for the explanation. Didn't see the 182 mag compass.