Kstars

remoteastrometryparser.h
1/*
2 SPDX-FileCopyrightText: 2016 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "astrometryparser.h"
10#include "fitsviewer/fitsdata.h"
11#include "indi/indicamera.h"
12
13namespace Ekos
14{
15class Align;
16
17/**
18 * @class RemoteAstrometryParser
19 * RemoteAstrometryParser invokes the remote astrometry.net solver in the remote CCD driver to solve the captured image.
20 * The offline astrometry.net plus index files must be installed and configured on the remote host running the INDI CCD driver.
21 *
22 * @author Jasem Mutlaq
23 */
25{
27
28 public:
30 virtual ~RemoteAstrometryParser() override = default;
31
32 virtual void setAlign(Align *_align) override
33 {
34 align = _align;
35 }
36 virtual bool init() override;
37 virtual void verifyIndexFiles(double fov_x, double fov_y) override;
38 virtual bool startSolver(const QString &filename, const QStringList &args, bool generated = true) override;
39 virtual bool stopSolver() override;
40
41 void setAstrometryDevice(const QSharedPointer<ISD::GenericDevice> &device);
42 void setEnabled(bool enable);
43 bool sendArgs(const QStringList &args);
44 bool setCCD(const QString &ccd);
45
46 public slots:
47 void checkStatus(INDI::Property prop);
48 void checkResults(INDI::Property prop);
49
50 private:
51 QSharedPointer<ISD::GenericDevice> m_RemoteAstrometry;
52 bool solverRunning { false };
53 bool captureRunning { false };
54 Align *align { nullptr };
55 FITSImage::Parity parity = FITSImage::BOTH;
56 QString targetCCD;
57};
58}
Align class handles plate-solving and polar alignment measurement and correction using astrometry....
Definition align.h:77
AstrometryParser is an interface for online and offline astrometry parsers.
RemoteAstrometryParser invokes the remote astrometry.net solver in the remote CCD driver to solve the...
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:83
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.