Kstars
11 #include "fitsviewer/fitsdata.h"
12 #include "indi/indicommon.h"
13 #include "../guideinterface.h"
15 #include "calibration.h"
30 class CalibrationProcess
53 CalibrationProcess(
double startX,
double startY,
bool raOnly);
54 ~CalibrationProcess() {}
56 void useCalibration(Calibration *calibrationPtr);
57 bool inProgress()
const;
60 void setGuideLog(GuideLog *guideLogPtr);
62 void iterate(
double x,
double y);
65 void getCalibrationUpdate(
66 GuideInterface::CalibrationUpdateType *type,
68 void getPulse(GuideDirection *dir,
int *msecs)
const;
70 Ekos::GuideState getStatus()
const;
73 void initializeIteration();
77 void raOutState(
double cur_x,
double cur_y);
78 void raInState(
double cur_x,
double cur_y);
79 void decBacklashState(
double cur_x,
double cur_y);
80 void decOutState(
double cur_x,
double cur_y);
81 void decInState(
double cur_x,
double cur_y);
84 void addCalibrationUpdate(GuideInterface::CalibrationUpdateType type,
87 void addPulse(GuideDirection dir,
int msecs);
88 void addLogStatus(
const QString &status);
89 void addStatus(Ekos::GuideState s);
92 int maximumSteps { 5 };
93 int turn_back_time { 0 };
94 int ra_iterations { 0 };
95 int dec_iterations { 0 };
96 int backlash_iterations { 0 };
98 int ra_total_pulse { 0 };
99 int de_total_pulse { 0 };
100 uint8_t backlash { 0 };
103 double start_x1 { 0 };
104 double start_y1 { 0 };
107 double start_x2 { 0 };
108 double start_y2 { 0 };
113 double ra_distance {0};
114 double de_distance {0};
115 double start_backlash_x { 0 };
116 double start_backlash_y { 0 };
118 CalibrationStage calibrationStage { CAL_IDLE };
119 CalibrationType calibrationType;
121 Calibration *calibration =
nullptr;
122 Calibration tempCalibration;
124 GuideLog *guideLog =
nullptr;
128 bool axisCalibrationComplete =
false;
130 GuideInterface::CalibrationUpdateType updateType;
132 double updateX, updateY;
133 Ekos::GuideState status;
134 GuideDirection pulseDirection;
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
The main change relative to fitsview is to add the capability of displaying the 'neighbor guide stars...
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Oct 3 2023 04:02:48 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.