I setup Fix gateway demo plugin, ensuring it handled ALAT, TAS, PITCH and ROLL
Then I launched pyefis and cycled through all the screens to ensure each was loaded.
Set PITCH to some other value using FIX Gateway Client.
Move to next screen with Attitude Indicator and see that pitch on that screen remains unchanged.
This was an issue for PITCH, ROLL, ALAT and TAS.
Seems the cause of the problem is that AI does not update its internal values when it is not visible.
Makes sense to not redraw when hidden, but ignoring signals and discarding data does not.
I will send a pull request to fix this but maybe we should keep this ticket open until we verified similar issues do not exist in other instruments.
self.isVisible() shows up in hsi, vsi, NumericalDisplay, airspeed and virtualvfr
I setup Fix gateway demo plugin, ensuring it handled ALAT, TAS, PITCH and ROLL Then I launched pyefis and cycled through all the screens to ensure each was loaded. Set PITCH to some other value using FIX Gateway Client. Move to next screen with Attitude Indicator and see that pitch on that screen remains unchanged.
This was an issue for PITCH, ROLL, ALAT and TAS.
Seems the cause of the problem is that AI does not update its internal values when it is not visible. Makes sense to not redraw when hidden, but ignoring signals and discarding data does not.
I will send a pull request to fix this but maybe we should keep this ticket open until we verified similar issues do not exist in other instruments.
self.isVisible()
shows up in hsi, vsi, NumericalDisplay, airspeed and virtualvfr