1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-12 18:58:48 -04:00

Add Sky Map support to Rotator Controller.

This commit is contained in:
srcejon
2024-02-14 13:21:26 +00:00
parent 2708a81623
commit 1ace16cfe2
4 changed files with 32 additions and 3 deletions
@@ -32,6 +32,8 @@
#include "gs232controllersettings.h"
#include "controllerprotocol.h"
class GS232Controller;
class GS232ControllerWorker : public QObject
{
Q_OBJECT
@@ -62,7 +64,7 @@ public:
{ }
};
GS232ControllerWorker();
GS232ControllerWorker(GS232Controller *controller);
~GS232ControllerWorker();
void startWork();
void stopWork();
@@ -72,6 +74,7 @@ public:
private:
GS232Controller *m_controller;
MessageQueue m_inputMessageQueue; //!< Queue for asynchronous inbound communication
MessageQueue *m_msgQueueToFeature; //!< Queue to report channel change to main feature object
GS232ControllerSettings m_settings;
@@ -92,6 +95,7 @@ private:
QIODevice *openSocket(const GS232ControllerSettings& settings);
void setAzimuth(float azimuth);
void setAzimuthElevation(float azimuth, float elevation);
void sendToSkyMap(float azimuth, float elevation);
private slots:
void handleInputMessages();