parshukov / An24-Felis-for-XP11

This is a new repo with the latest versions of An24 for X-Plane 11. It works correctly up to 11.31 version of X-Plane!
38 stars 15 forks source link

AP diconnect and smartco #6

Open birdydma opened 6 years ago

birdydma commented 6 years ago

sim/autopilot/fdir_servos_down_one is not transmitted.

PS: if it is a too hard task to improve the AP disconnect, close the topic.

parshukov commented 6 years ago

but this command is used for a button on a yoke. Can you test other default x-plane commands with AP disc? servos toggle or smth like that?

birdydma commented 6 years ago

Already done, but no joy. (servo toggle activate/deactivate the autotrim).

2017-12-11_23h21_33

parshukov commented 6 years ago

what this command should do? can you describe the logic of this command (e.g. this switch off, that switch on)

birdydma commented 6 years ago

Those datarefs are not properly synchronized:

parshukovedition/autopilot_state_FO_ApbuttonState = 0

parshukovedition/autopilot_state_PF_ApbuttonState = 0

parshukovedition/autopilot_state_FO_button = 0 parshukovedition/autopilot_state_PF_button = 0

The idea is to remove them from the .cfg, and let each plugin do the job at there own speed. But of course we need something that can be synchronized to activate them.

sim/autopilot/fdir_servos_down_one is not transmited, as for exemple sim/flight_controls/pitch_trim_down/up is.

parshukov commented 6 years ago

when I released my patch I did improvements in smartconfig and everything worked nice. will try to find it...

parshukov commented 6 years ago

try to use all of them for smartcopilot and tell me the results. To AP off you should click on the red button on yoke: parshukovedition/autopilot_state_FO_ApbuttonState = 0 parshukovedition/autopilot_state_PF_ApbuttonState = 0 parshukovedition/autopilot_state_FO_button = 0 parshukovedition/autopilot_state_PF_button = 0

and how it is not properly sync?? We can try together with smartco check it

birdydma commented 6 years ago

Working sometimes, sometimes not. The value of the pilot receiving parshukovedition/autopilot_state_FO_button, and parshukovedition/autopilot_state_PF_button does not always reach 1, and there is no ring, no disconnection.

parshukov commented 6 years ago

I'll check this out

parshukov commented 6 years ago

Working sometimes, sometimes not. The value of the pilot receiving parshukovedition/autopilot_state_FO_button, and parshukovedition/autopilot_state_PF_button does not always reach 1, and there is no ring, no disconnection.

So if it works it disconnect AP as it should, am I right? If so I will fix this button on yoke for smartcopilot. As for command it uses sim/autopilot/fdir_servos_down_one to diconnect AP on yoke.

birdydma commented 6 years ago

I also have a question about 2 items, as i spent hours to sync them without success.

Just for my knowledge, as it is not important.

During the test, the 2 red bulbs are illuminated only for the pilot doing the test.

Gear test: never found the dataref, or command to sync it.

2017-12-14_17h49_55

2017-12-14_17h51_42

parshukov commented 6 years ago

as for this bulbs and gear - they are hardcoded in sasl with local variables.

birdydma commented 6 years ago

Thank you, i am less stupid.

parshukov commented 6 years ago

I know) but for this things to sync it should be some new datarefs and reorganization of a code

birdydma commented 6 years ago

Hi, Niko,

Minor improvement, and sound problem (on slave side, engines sounds are horrible).

Are you also working around the flight model? smartcopilot.zip

jinshsa commented 5 years ago

The button on the yoke is used to disable the AP temporarily,when the button was released ,the AP should be connected back automatically ,

jinshsa commented 5 years ago

When the red button was pressed down and hold ,you can control the plane manually, on released ,the AP take in charge of the plane immediately

birdydma commented 5 years ago

Thank you jinsha.

The problem was using this feature in a shared cockpit.