1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-09 09:25:07 -04:00

Satellite Tracker: Signal AOS/LOS when non real time. Fix custom time. For for #1445.

This commit is contained in:
Jon Beniston
2022-09-26 12:14:02 +01:00
parent b54575041d
commit e3c04fcc2b
4 changed files with 79 additions and 40 deletions
@@ -47,6 +47,7 @@ public:
m_name(name)
{
m_satState.m_name = name;
m_hasSignalledAOS = false;
}
bool hasAOS(const QDateTime& currentTime);
@@ -60,6 +61,7 @@ protected:
QTimer m_dopplerTimer;
QList<int> m_initFrequencyOffset;
SatelliteState m_satState;
bool m_hasSignalledAOS; // For pass specified by m_aos and m_los
friend SatelliteTrackerWorker;
};
@@ -114,6 +116,7 @@ private:
bool m_recalculatePasses; //!< Recalculate passes as something has changed
bool m_flipRotation; //!< Use 180 elevation to avoid 360/0 degree discontinutiy
bool m_extendedAzRotation; //!< Use 450+ degree azimuth to avoid 360/0 degree discontinuity
QDateTime m_lastUpdateDateTime;
bool handleMessage(const Message& cmd);
void applySettings(const SatelliteTrackerSettings& settings, bool force = false);