11#include "indi/indicommon.h"
12#include "../guideinterface.h"
13#include "calibration.h"
29class CalibrationProcess
52 CalibrationProcess(
double startX,
double startY,
bool raOnly);
53 ~CalibrationProcess() {}
55 void useCalibration(Calibration *calibrationPtr);
56 bool inProgress()
const;
59 void setGuideLog(GuideLog *guideLogPtr);
61 void iterate(
double x,
double y);
64 void getCalibrationUpdate(
65 GuideInterface::CalibrationUpdateType *type,
66 QString *message,
double *x,
double *y)
const;
67 void getPulse(GuideDirection *dir,
int *msecs)
const;
69 Ekos::GuideState getStatus()
const;
72 void initializeIteration();
76 void raOutState(
double cur_x,
double cur_y);
77 void raInState(
double cur_x,
double cur_y);
78 void decBacklashState(
double cur_x,
double cur_y);
79 void decOutState(
double cur_x,
double cur_y);
80 void decInState(
double cur_x,
double cur_y);
83 void addCalibrationUpdate(GuideInterface::CalibrationUpdateType type,
84 QString message,
double x = 0,
double y = 0);
86 void addPulse(GuideDirection dir,
int msecs);
87 void addLogStatus(
const QString &status);
88 void addStatus(Ekos::GuideState s);
91 int maximumSteps { 5 };
92 int turn_back_time { 0 };
93 int ra_iterations { 0 };
94 int dec_iterations { 0 };
95 int backlash_iterations { 0 };
97 int ra_total_pulse { 0 };
98 int de_total_pulse { 0 };
99 uint8_t backlash { 0 };
102 double start_x1 { 0 };
103 double start_y1 { 0 };
106 double start_x2 { 0 };
107 double start_y2 { 0 };
112 double ra_distance {0};
113 double de_distance {0};
114 double start_backlash_x { 0 };
115 double start_backlash_y { 0 };
117 CalibrationStage calibrationStage { CAL_IDLE };
118 CalibrationType calibrationType;
120 Calibration *calibration =
nullptr;
121 Calibration tempCalibration;
123 GuideLog *guideLog =
nullptr;
127 bool axisCalibrationComplete =
false;
129 GuideInterface::CalibrationUpdateType updateType;
131 double updateX, updateY;
132 Ekos::GuideState status;
133 GuideDirection pulseDirection;
The main change relative to fitsview is to add the capability of displaying the 'neighbor guide stars...
Ekos is an advanced Astrophotography tool for Linux.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.