Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/focus/focus.h
Show First 20 Lines • Show All 351 Lines • ▼ Show 20 Line(s) | 333 | private slots: | |||
---|---|---|---|---|---|
352 | void showFITSViewer(); | 352 | void showFITSViewer(); | ||
353 | 353 | | |||
354 | void toggleFocusingWidgetFullScreen(); | 354 | void toggleFocusingWidgetFullScreen(); | ||
355 | 355 | | |||
356 | void setVideoStreamEnabled(bool enabled); | 356 | void setVideoStreamEnabled(bool enabled); | ||
357 | 357 | | |||
358 | void syncSettings(); | 358 | void syncSettings(); | ||
359 | 359 | | |||
360 | void graphPolynomialFunction(); | ||||
361 | | ||||
360 | signals: | 362 | signals: | ||
361 | void newLog(const QString &text); | 363 | void newLog(const QString &text); | ||
362 | void newStatus(Ekos::FocusState state); | 364 | void newStatus(Ekos::FocusState state); | ||
363 | void newHFR(double hfr, int position); | 365 | void newHFR(double hfr, int position); | ||
364 | 366 | | |||
365 | void absolutePositionChanged(int value); | 367 | void absolutePositionChanged(int value); | ||
366 | void focusPositionAdjusted(); | 368 | void focusPositionAdjusted(); | ||
367 | 369 | | |||
▲ Show 20 Lines • Show All 212 Lines • ▼ Show 20 Line(s) | 375 | private: | |||
580 | 582 | | |||
581 | /// Relative Profile | 583 | /// Relative Profile | ||
582 | QCustomPlot *profilePlot { nullptr }; | 584 | QCustomPlot *profilePlot { nullptr }; | ||
583 | QDialog *profileDialog { nullptr }; | 585 | QDialog *profileDialog { nullptr }; | ||
584 | 586 | | |||
585 | /// Polynomial fitting coefficients | 587 | /// Polynomial fitting coefficients | ||
586 | std::vector<double> coeff; | 588 | std::vector<double> coeff; | ||
587 | int polySolutionFound { 0 }; | 589 | int polySolutionFound { 0 }; | ||
590 | QCPGraph *polynomialGraph = nullptr; | ||||
591 | QCPGraph *focusPoint = nullptr; | ||||
592 | bool polynomialGraphIsShown = false; | ||||
588 | 593 | | |||
589 | // Capture timeout timer | 594 | // Capture timeout timer | ||
590 | QTimer captureTimeout; | 595 | QTimer captureTimeout; | ||
591 | uint8_t captureTimeoutCounter { 0 }; | 596 | uint8_t captureTimeoutCounter { 0 }; | ||
592 | uint8_t captureFailureCounter { 0 }; | 597 | uint8_t captureFailureCounter { 0 }; | ||
593 | 598 | | |||
594 | // Guide Suspend | 599 | // Guide Suspend | ||
595 | bool m_GuidingSuspended { false }; | 600 | bool m_GuidingSuspended { false }; | ||
596 | 601 | | |||
597 | // Filter Manager | 602 | // Filter Manager | ||
598 | QSharedPointer<FilterManager> filterManager; | 603 | QSharedPointer<FilterManager> filterManager; | ||
599 | }; | 604 | }; | ||
600 | } | 605 | } |