Kstars

manualpulse.h
1/*
2 SPDX-FileCopyrightText: 2023 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "ui_manualpulse.h"
10#include "indi/indicommon.h"
11#include "skypoint.h"
12#include "ekos/guide/guideinterface.h"
13
14#include <QDialog>
15
16namespace Ekos
17{
18/**
19 * @brief The ManualPulse class generates manual pulses for testing purposes to see how much the mount react to the pulses. This could be used for diagnostics purposes.
20 */
21class ManualPulse : public QDialog, public Ui::ManualPulse
22{
24public:
25 ManualPulse(QWidget *parent = nullptr);
26
27 /**
28 * @brief reset Reset RA & DE offset calculations
29 */
30 void reset();
31
32 /**
33 * @brief setMountCoords calculate new RA/DE offsets
34 * @param position updated mount position
35 */
36 void setMountCoords(const SkyPoint &position);
37
38signals:
39 void newSinglePulse(GuideDirection dir, int msecs, CaptureAfterPulses followWithCapture);
40
41private:
42 SkyPoint m_LastCoord;
43};
44}
The ManualPulse class generates manual pulses for testing purposes to see how much the mount react to...
Definition manualpulse.h:22
void setMountCoords(const SkyPoint &position)
setMountCoords calculate new RA/DE offsets
void reset()
reset Reset RA & DE offset calculations
The sky coordinates of a point in the sky.
Definition skypoint.h:45
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:83
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.