Skip to content

Conversation

keithel-qt
Copy link
Contributor

Drive LogPanel and TrackingSignalsTab updates from incoming data instead of timer.

This drives the update of the tabs from the incoming data rather than a 5hz timer.
This also migrates to registering the python classes with QML via the new @QmlElement attribute introduced in PySide6.

Note: TrackingSkyPlot data driven updates is not yet complete because of the way the labels get destroyed and re-created.
They were depending on the update frequency of the timer. This still needs resolving, and thus TrackingSkyPolot data driven updates has been reverted.

This drives the update of the LogPanel from the incoming data rather
than a 5hz timer.

This also migrates to registering the python logging classes with QML
via the new @QmlElement attribute introduced in PySide6.
emptySeries was never used in TrackingSignalsTab, removing it.
This drives the update of the TrackingSignalsTab from the incoming data
rather than a 5hz timer.

This also migrates to registering the python classes with QML via the
new @QmlElement attribute introduced in PySide6.
This drives the update of the TrackingSkyPlotTab from the incoming data
rather than a 5hz timer.

This also migrates to registering the python classes with QML via the
new @QmlElement attribute introduced in PySide6.

NOTE: This is incomplete, because the labels flicker due to deletion
after a set timeout. This logic needs to change, now that we do not
update at a predictable interval.
…f timer"

This reverts commit 949bd2a.

This is not yet ready, as it creates flickering due to the way that the
SkyPlot point labels are deleted and re-created. They depended on the
timer-based update interval, and now that it is at an unpredictable
update interval, another means of achieving the label updates needs to
occur.
@keithel-qt keithel-qt changed the title Data Driven QML updates for LogPanel, TrackingSignals, and TrackingSkyPlot tabs Data Driven QML updates for LogPanel and TrackingSignals tabs Oct 18, 2022
@silverjam silverjam requested a review from a team October 18, 2022 23:27
@silverjam silverjam merged commit 73f184b into main Oct 19, 2022
@silverjam silverjam deleted the keithel-qt/qml-data-driven-updates branch October 19, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants