Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/guide/guide.h
Context not available. | |||||
9 | 9 | | |||
---|---|---|---|---|---|
10 | #pragma once | 10 | #pragma once | ||
11 | 11 | | |||
12 | #include "kstarsenum.h" | ||||
12 | #include "ui_guide.h" | 13 | #include "ui_guide.h" | ||
13 | #include "ekos/ekos.h" | 14 | #include "ekos/ekos.h" | ||
14 | #include "indi/indiccd.h" | 15 | #include "indi/indiccd.h" | ||
Context not available. | |||||
23 | 24 | | |||
24 | class FITSView; | 25 | class FITSView; | ||
25 | class FITSViewer; | 26 | class FITSViewer; | ||
26 | class ScrollGraph; | | |||
27 | 27 | | |||
28 | namespace Ekos | 28 | namespace Ekos | ||
29 | { | 29 | { | ||
Context not available. | |||||
93 | * @brief getStatus Return guide module status | 93 | * @brief getStatus Return guide module status | ||
94 | * @return state of guide module from Ekos::GuideState | 94 | * @return state of guide module from Ekos::GuideState | ||
95 | */ | 95 | */ | ||
96 | Q_SCRIPTABLE uint getStatus() { return state; } | 96 | Q_SCRIPTABLE uint getStatus() { return KStarsEnum::toType(state); } | ||
97 | 97 | | |||
98 | /** DBUS interface function. | 98 | /** DBUS interface function. | ||
99 | * @return Returns guiding deviation from guide star in arcsecs. First elemenet is RA guiding deviation, second element is DEC guiding deviation. | 99 | * @return Returns guiding deviation from guide star in arcsecs. First elemenet is RA guiding deviation, second element is DEC guiding deviation. | ||
Context not available. | |||||
560 | QPointer<LinGuider> linGuider; | 560 | QPointer<LinGuider> linGuider; | ||
561 | QPointer<FITSViewer> fv; | 561 | QPointer<FITSViewer> fv; | ||
562 | 562 | | |||
563 | double primaryFL = -1, primaryAperture = -1, guideFL = -1, guideAperture = -1; | 563 | double primaryFL { -1 }; | ||
564 | double primaryAperture { -1 }; | ||||
565 | double guideFL { -1 }; | ||||
566 | double guideAperture { -1 }; | ||||
564 | 567 | | |||
565 | QCPCurve *centralTarget { nullptr }; | 568 | QCPCurve *centralTarget { nullptr }; | ||
566 | QCPCurve *yellowTarget { nullptr }; | 569 | QCPCurve *yellowTarget { nullptr }; | ||
567 | QCPCurve *redTarget { nullptr }; | 570 | QCPCurve *redTarget { nullptr }; | ||
568 | QCPCurve *concentricRings { nullptr }; | 571 | QCPCurve *concentricRings { nullptr }; | ||
569 | 572 | | |||
570 | bool graphOnLatestPt=true; | 573 | bool graphOnLatestPt { true }; | ||
571 | QUrl guideURLPath; | 574 | QUrl guideURLPath; | ||
572 | }; | 575 | }; | ||
573 | } | 576 | } | ||
Context not available. |