Ekos::Mount

Search for usage in LXR

#include <mount.h>

Inheritance diagram for Ekos::Mount:

Properties

QList< double > altitudeLimits
 
bool altitudeLimitsEnabled
 
bool autoParkEnabled
 
bool canPark
 
QList< double > equatorialCoords
 
QList< double > horizontalCoords
 
double hourAngle
 
double hourAngleLimit
 
bool hourAngleLimitEnabled
 
QStringList locationSources
 
QStringList logText
 
QString opticalTrain
 
ISD::ParkStatus parkStatus
 
ISD::Mount::PierSide pierSide
 
int slewRate
 
int slewStatus
 
ISD::Mount::Status status
 
QStringList timeSources
 
- Properties inherited from QWidget
 acceptDrops
 
 accessibleDescription
 
 accessibleName
 
 autoFillBackground
 
 baseSize
 
 childrenRect
 
 childrenRegion
 
 contextMenuPolicy
 
 cursor
 
 enabled
 
 focus
 
 focusPolicy
 
 font
 
 frameGeometry
 
 frameSize
 
 fullScreen
 
 geometry
 
 height
 
 inputMethodHints
 
 isActiveWindow
 
 layoutDirection
 
 locale
 
 maximized
 
 maximumHeight
 
 maximumSize
 
 maximumWidth
 
 minimized
 
 minimumHeight
 
 minimumSize
 
 minimumSizeHint
 
 minimumWidth
 
 modal
 
 mouseTracking
 
 normalGeometry
 
 palette
 
 pos
 
 rect
 
 size
 
 sizeHint
 
 sizeIncrement
 
 sizePolicy
 
 statusTip
 
 styleSheet
 
 tabletTracking
 
 toolTip
 
 toolTipDuration
 
 updatesEnabled
 
 visible
 
 whatsThis
 
 width
 
 windowFilePath
 
 windowFlags
 
 windowIcon
 
 windowIconText
 
 windowModality
 
 windowModified
 
 windowOpacity
 
 windowTitle
 
 x
 
 y
 
- Properties inherited from QObject
 objectName
 

Signals

void autoParkCountdownUpdated (const QString &text)
 
void newCoords (const SkyPoint &position, ISD::Mount::PierSide pierSide, const dms &ha)
 
void newLog (const QString &text)
 
void newMeridianFlipText (const QString &text)
 
void newParkStatus (ISD::ParkStatus status)
 
void newStatus (ISD::Mount::Status status)
 
void newTarget (SkyPoint &currentCoord)
 
void newTargetName (const QString &name)
 
void pierSideChanged (ISD::Mount::PierSide side)
 
void ready ()
 
void settingsUpdated (const QVariantMap &settings)
 
void slewRateChanged (int index)
 
void trainChanged ()
 

Public Slots

void disableHaLimits ()
 
void doPulse (GuideDirection ra_dir, int ra_msecs, GuideDirection dec_dir, int dec_msecs)
 
void enableHaLimits ()
 
void enableHourAngleLimits (bool enable)
 
bool gotoTarget (const SkyPoint &target)
 
void motionCommand (int command, int NS, int WE)
 
void paaStageChanged (int stage)
 
void registerNewModule (const QString &name)
 
void resumeAltLimits ()
 
void saveLimits ()
 
void setAltitudeLimits (bool enable)
 
void setMeridianFlipValues (bool activate, double degrees)
 
void stopTimers ()
 
void suspendAltLimits ()
 
void syncAxisReversed (INDI_EQ_AXIS axis, bool reversed)
 
void syncLocationSource ()
 
void syncTelescopeInfo ()
 
void syncTimeSource ()
 
void toggleMountToolBox ()
 
void updateLog (int messageID)
 
void updateProperty (INDI::Property prop)
 
void updateTelescopeCoords (const SkyPoint &position, ISD::Mount::PierSide pierSide, const dms &ha)
 

Public Member Functions

 Mount ()
 
Q_INVOKABLE Q_SCRIPTABLE bool abort ()
 
ISD::MountactiveMount () const
 
bool addLocationSource (const QSharedPointer< ISD::GenericDevice > &device)
 
bool addTimeSource (const QSharedPointer< ISD::GenericDevice > &device)
 
Q_SCRIPTABLE QList< double > altitudeLimits ()
 
Q_SCRIPTABLE bool altitudeLimitsEnabled ()
 
void appendLogText (const QString &)
 
Q_SCRIPTABLE bool autoParkEnabled ()
 
Q_INVOKABLE bool azAltToHaDec (QString qsAz, QString qsAlt)
 
Q_INVOKABLE bool azAltToRaDec (QString qsAz, QString qsAlt)
 
Q_INVOKABLE Q_SCRIPTABLE bool canPark ()
 
Q_INVOKABLE void centerMount ()
 
void clearLog ()
 
Q_SCRIPTABLE SkyPoint currentTarget ()
 
Q_SCRIPTABLE QList< double > equatorialCoords ()
 
Q_INVOKABLE void findTarget ()
 
QVariantMap getAllSettings () const
 
QString getLogText () const
 
QSharedPointer< MeridianFlipState > getMeridianFlipState () const
 
Q_INVOKABLE Q_SCRIPTABLE bool gotoTarget (const QString &target)
 
Q_INVOKABLE bool haDecToAzAlt (QString qsHA, QString qsDec)
 
Q_INVOKABLE bool haDecToRaDec (QString qsHA)
 
Q_SCRIPTABLE QList< double > horizontalCoords ()
 
Q_SCRIPTABLE double hourAngle ()
 
Q_SCRIPTABLE double hourAngleLimit ()
 
Q_SCRIPTABLE bool hourAngleLimitEnabled ()
 
Q_SCRIPTABLE double initialHA ()
 
Q_INVOKABLE QStringList locationSources ()
 
QStringList logText ()
 
Q_SCRIPTABLE bool meridianFlipEnabled ()
 
QString meridianFlipStatusDescription ()
 
Q_SCRIPTABLE double meridianFlipValue ()
 
QString opticalTrain () const
 
Q_INVOKABLE Q_SCRIPTABLE bool park ()
 
ISD::ParkStatus parkStatus () const
 
ISD::Mount::PierSide pierSide () const
 
Q_INVOKABLE bool raDecToAzAlt (QString qsRA, QString qsDec)
 
Q_INVOKABLE bool raDecToHaDec (QString qsRA)
 
void refreshOpticalTrain ()
 
void removeDevice (const QSharedPointer< ISD::GenericDevice > &device)
 
Q_INVOKABLE Q_SCRIPTABLE bool resetModel ()
 
void setAllSettings (const QVariantMap &settings)
 
Q_SCRIPTABLE Q_NOREPLY void setAltitudeLimits (QList< double > limits)
 
Q_SCRIPTABLE void setAltitudeLimitsEnabled (bool enable)
 
Q_SCRIPTABLE void setAutoParkDailyEnabled (bool enabled)
 
Q_SCRIPTABLE void setAutoParkEnabled (bool enable)
 
Q_SCRIPTABLE void setAutoParkStartup (QTime startup)
 
Q_SCRIPTABLE Q_NOREPLY void setHourAngleLimit (double limit)
 
Q_SCRIPTABLE void setHourAngleLimitEnabled (bool enable)
 
Q_INVOKABLE void setJ2000Enabled (bool enabled)
 
Q_INVOKABLE void setLeftRightReversed (bool enabled)
 
bool setMount (ISD::Mount *device)
 
void setOpticalTrain (const QString &value)
 
Q_INVOKABLE Q_SCRIPTABLE bool setSlewRate (int index)
 
Q_INVOKABLE void setTrackEnabled (bool enabled)
 
Q_INVOKABLE void setUpDownReversed (bool enabled)
 
void setupOpticalTrainManager ()
 
Q_INVOKABLE bool slew (const QString &RA, const QString &DEC)
 
Q_INVOKABLE Q_SCRIPTABLE bool slew (double RA, double DEC)
 
Q_INVOKABLE Q_SCRIPTABLE int slewRate ()
 
Q_INVOKABLE Q_SCRIPTABLE IPState slewStatus ()
 
ISD::Mount::Status status () const
 
QString statusString (bool translated=true) const
 
Q_INVOKABLE bool sync (const QString &RA, const QString &DEC)
 
Q_INVOKABLE Q_SCRIPTABLE bool sync (double RA, double DEC)
 
Q_INVOKABLE Q_SCRIPTABLE bool syncTarget (const QString &target)
 
Q_INVOKABLE QStringList timeSources ()
 
Q_INVOKABLE Q_SCRIPTABLE bool unpark ()
 
- Public Member Functions inherited from QWidget
 QWidget (QWidget *parent, Qt::WindowFlags f)
 
bool acceptDrops () const const
 
QString accessibleDescription () const const
 
QString accessibleName () const const
 
QList< QAction * > actions () const const
 
void activateWindow ()
 
QActionaddAction (const QIcon &icon, const QString &text)
 
QActionaddAction (const QIcon &icon, const QString &text, Args &&... args)
 
QActionaddAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut)
 
QActionaddAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, Args &&... args)
 
QActionaddAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type)
 
QActionaddAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type)
 
QActionaddAction (const QString &text)
 
QActionaddAction (const QString &text, Args &&... args)
 
QActionaddAction (const QString &text, const QKeySequence &shortcut)
 
QActionaddAction (const QString &text, const QKeySequence &shortcut, Args &&... args)
 
QActionaddAction (const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type)
 
QActionaddAction (const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type)
 
void addAction (QAction *action)
 
void addActions (const QList< QAction * > &actions)
 
void adjustSize ()
 
bool autoFillBackground () const const
 
QPalette::ColorRole backgroundRole () const const
 
QBackingStorebackingStore () const const
 
QSize baseSize () const const
 
QWidgetchildAt (const QPoint &p) const const
 
QWidgetchildAt (int x, int y) const const
 
QRect childrenRect () const const
 
QRegion childrenRegion () const const
 
void clearFocus ()
 
void clearMask ()
 
bool close ()
 
QMargins contentsMargins () const const
 
QRect contentsRect () const const
 
Qt::ContextMenuPolicy contextMenuPolicy () const const
 
QCursor cursor () const const
 
void customContextMenuRequested (const QPoint &pos)
 
WId effectiveWinId () const const
 
void ensurePolished () const const
 
Qt::FocusPolicy focusPolicy () const const
 
QWidgetfocusProxy () const const
 
QWidgetfocusWidget () const const
 
const QFontfont () const const
 
QFontInfo fontInfo () const const
 
QFontMetrics fontMetrics () const const
 
QPalette::ColorRole foregroundRole () const const
 
QRect frameGeometry () const const
 
QSize frameSize () const const
 
const QRectgeometry () const const
 
QPixmap grab (const QRect &rectangle)
 
void grabGesture (Qt::GestureType gesture, Qt::GestureFlags flags)
 
void grabKeyboard ()
 
void grabMouse ()
 
void grabMouse (const QCursor &cursor)
 
int grabShortcut (const QKeySequence &key, Qt::ShortcutContext context)
 
QGraphicsEffectgraphicsEffect () const const
 
QGraphicsProxyWidgetgraphicsProxyWidget () const const
 
bool hasEditFocus () const const
 
bool hasFocus () const const
 
virtual bool hasHeightForWidth () const const
 
bool hasMouseTracking () const const
 
bool hasTabletTracking () const const
 
int height () const const
 
virtual int heightForWidth (int w) const const
 
void hide ()
 
Qt::InputMethodHints inputMethodHints () const const
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const const
 
void insertAction (QAction *before, QAction *action)
 
void insertActions (QAction *before, const QList< QAction * > &actions)
 
bool isActiveWindow () const const
 
bool isAncestorOf (const QWidget *child) const const
 
bool isEnabled () const const
 
bool isEnabledTo (const QWidget *ancestor) const const
 
bool isFullScreen () const const
 
bool isHidden () const const
 
bool isMaximized () const const
 
bool isMinimized () const const
 
bool isModal () const const
 
bool isTopLevel () const const
 
bool isVisible () const const
 
bool isVisibleTo (const QWidget *ancestor) const const
 
bool isWindow () const const
 
bool isWindowModified () const const
 
QLayoutlayout () const const
 
Qt::LayoutDirection layoutDirection () const const
 
QLocale locale () const const
 
void lower ()
 
QPoint mapFrom (const QWidget *parent, const QPoint &pos) const const
 
QPointF mapFrom (const QWidget *parent, const QPointF &pos) const const
 
QPoint mapFromGlobal (const QPoint &pos) const const
 
QPointF mapFromGlobal (const QPointF &pos) const const
 
QPoint mapFromParent (const QPoint &pos) const const
 
QPointF mapFromParent (const QPointF &pos) const const
 
QPoint mapTo (const QWidget *parent, const QPoint &pos) const const
 
QPointF mapTo (const QWidget *parent, const QPointF &pos) const const
 
QPoint mapToGlobal (const QPoint &pos) const const
 
QPointF mapToGlobal (const QPointF &pos) const const
 
QPoint mapToParent (const QPoint &pos) const const
 
QPointF mapToParent (const QPointF &pos) const const
 
QRegion mask () const const
 
int maximumHeight () const const
 
QSize maximumSize () const const
 
int maximumWidth () const const
 
int minimumHeight () const const
 
QSize minimumSize () const const
 
virtual QSize minimumSizeHint () const const
 
int minimumWidth () const const
 
void move (const QPoint &)
 
void move (int x, int y)
 
QWidgetnativeParentWidget () const const
 
QWidgetnextInFocusChain () const const
 
QRect normalGeometry () const const
 
void overrideWindowFlags (Qt::WindowFlags flags)
 
virtual QPaintEnginepaintEngine () const const override
 
const QPalettepalette () const const
 
QWidgetparentWidget () const const
 
QPoint pos () const const
 
QWidgetpreviousInFocusChain () const const
 
 QWIDGETSIZE_MAX QWIDGETSIZE_MAX
 
void raise ()
 
QRect rect () const const
 
void releaseKeyboard ()
 
void releaseMouse ()
 
void releaseShortcut (int id)
 
void removeAction (QAction *action)
 
void render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, RenderFlags renderFlags)
 
void render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, RenderFlags renderFlags)
 
void repaint ()
 
void repaint (const QRect &rect)
 
void repaint (const QRegion &rgn)
 
void repaint (int x, int y, int w, int h)
 
void resize (const QSize &)
 
void resize (int w, int h)
 
bool restoreGeometry (const QByteArray &geometry)
 
QByteArray saveGeometry () const const
 
QScreenscreen () const const
 
void scroll (int dx, int dy)
 
void scroll (int dx, int dy, const QRect &r)
 
void setAcceptDrops (bool on)
 
void setAccessibleDescription (const QString &description)
 
void setAccessibleName (const QString &name)
 
void setAttribute (Qt::WidgetAttribute attribute, bool on)
 
void setAutoFillBackground (bool enabled)
 
void setBackgroundRole (QPalette::ColorRole role)
 
void setBaseSize (const QSize &)
 
void setBaseSize (int basew, int baseh)
 
void setContentsMargins (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void setCursor (const QCursor &)
 
void setDisabled (bool disable)
 
void setEditFocus (bool enable)
 
void setEnabled (bool)
 
void setFixedHeight (int h)
 
void setFixedSize (const QSize &s)
 
void setFixedSize (int w, int h)
 
void setFixedWidth (int w)
 
void setFocus ()
 
void setFocus (Qt::FocusReason reason)
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
void setFocusProxy (QWidget *w)
 
void setFont (const QFont &)
 
void setForegroundRole (QPalette::ColorRole role)
 
void setGeometry (const QRect &)
 
void setGeometry (int x, int y, int w, int h)
 
void setGraphicsEffect (QGraphicsEffect *effect)
 
void setHidden (bool hidden)
 
void setInputMethodHints (Qt::InputMethodHints hints)
 
void setLayout (QLayout *layout)
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
void setLocale (const QLocale &locale)
 
void setMask (const QBitmap &bitmap)
 
void setMask (const QRegion &region)
 
void setMaximumHeight (int maxh)
 
void setMaximumSize (const QSize &)
 
void setMaximumSize (int maxw, int maxh)
 
void setMaximumWidth (int maxw)
 
void setMinimumHeight (int minh)
 
void setMinimumSize (const QSize &)
 
void setMinimumSize (int minw, int minh)
 
void setMinimumWidth (int minw)
 
void setMouseTracking (bool enable)
 
void setPalette (const QPalette &)
 
void setParent (QWidget *parent)
 
void setParent (QWidget *parent, Qt::WindowFlags f)
 
void setScreen (QScreen *screen)
 
void setShortcutAutoRepeat (int id, bool enable)
 
void setShortcutEnabled (int id, bool enable)
 
void setSizeIncrement (const QSize &)
 
void setSizeIncrement (int w, int h)
 
void setSizePolicy (QSizePolicy)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
void setStatusTip (const QString &)
 
void setStyle (QStyle *style)
 
void setStyleSheet (const QString &styleSheet)
 
void setTabletTracking (bool enable)
 
void setToolTip (const QString &)
 
void setToolTipDuration (int msec)
 
void setUpdatesEnabled (bool enable)
 
void setupUi (QWidget *widget)
 
virtual void setVisible (bool visible)
 
void setWhatsThis (const QString &)
 
void setWindowFilePath (const QString &filePath)
 
void setWindowFlag (Qt::WindowType flag, bool on)
 
void setWindowFlags (Qt::WindowFlags type)
 
void setWindowIcon (const QIcon &icon)
 
void setWindowIconText (const QString &)
 
void setWindowModality (Qt::WindowModality windowModality)
 
void setWindowModified (bool)
 
void setWindowOpacity (qreal level)
 
void setWindowRole (const QString &role)
 
void setWindowState (Qt::WindowStates windowState)
 
void setWindowTitle (const QString &)
 
void show ()
 
void showFullScreen ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
QSize size () const const
 
virtual QSize sizeHint () const const
 
QSize sizeIncrement () const const
 
QSizePolicy sizePolicy () const const
 
void stackUnder (QWidget *w)
 
QString statusTip () const const
 
QStylestyle () const const
 
QString styleSheet () const const
 
bool testAttribute (Qt::WidgetAttribute attribute) const const
 
QString toolTip () const const
 
int toolTipDuration () const const
 
QWidgettopLevelWidget () const const
 
bool underMouse () const const
 
void ungrabGesture (Qt::GestureType gesture)
 
void unsetCursor ()
 
void unsetLayoutDirection ()
 
void unsetLocale ()
 
void update ()
 
void update (const QRect &rect)
 
void update (const QRegion &rgn)
 
void update (int x, int y, int w, int h)
 
void updateGeometry ()
 
bool updatesEnabled () const const
 
QRegion visibleRegion () const const
 
QString whatsThis () const const
 
int width () const const
 
QWidgetwindow () const const
 
QString windowFilePath () const const
 
Qt::WindowFlags windowFlags () const const
 
QWindowwindowHandle () const const
 
QIcon windowIcon () const const
 
void windowIconChanged (const QIcon &icon)
 
QString windowIconText () const const
 
void windowIconTextChanged (const QString &iconText)
 
Qt::WindowModality windowModality () const const
 
qreal windowOpacity () const const
 
QString windowRole () const const
 
Qt::WindowStates windowState () const const
 
QString windowTitle () const const
 
void windowTitleChanged (const QString &title)
 
Qt::WindowType windowType () const const
 
WId winId () const const
 
int x () const const
 
int y () const const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo () const const
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isQuickItemType () const const
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_GADGET_EXPORT (EXPORT_MACRO)
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_MOC_INCLUDE Q_MOC_INCLUDE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setObjectName (QAnyStringView name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool setProperty (const char *name, QVariant &&value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType)
 
QThreadthread () const const
 
- Public Member Functions inherited from QPaintDevice
int colorCount () const const
 
int depth () const const
 
qreal devicePixelRatio () const const
 
qreal devicePixelRatioF () const const
 
int height () const const
 
int heightMM () const const
 
int logicalDpiX () const const
 
int logicalDpiY () const const
 
bool paintingActive () const const
 
int physicalDpiX () const const
 
int physicalDpiY () const const
 
int width () const const
 
int widthMM () const const
 

Additional Inherited Members

- Public Types inherited from QWidget
enum  RenderFlag
 
- Public Types inherited from QPaintDevice
enum  PaintDeviceMetric
 
- Static Public Member Functions inherited from QWidget
QWidgetcreateWindowContainer (QWindow *window, QWidget *parent, Qt::WindowFlags flags)
 
QWidgetfind (WId id)
 
QWidgetkeyboardGrabber ()
 
QWidgetmouseGrabber ()
 
void setTabOrder (QWidget *first, QWidget *second)
 
void setTabOrder (std::initializer_list< QWidget * > widgets)
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QWidget
 DrawChildren
 
 DrawWindowBackground
 
 IgnoreMask
 
typedef RenderFlags
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Public Attributes inherited from QPaintDevice
 PdmDepth
 
 PdmDevicePixelRatio
 
 PdmDevicePixelRatioScaled
 
 PdmDpiX
 
 PdmDpiY
 
 PdmHeight
 
 PdmHeightMM
 
 PdmNumColors
 
 PdmPhysicalDpiX
 
 PdmPhysicalDpiY
 
 PdmWidth
 
 PdmWidthMM
 
- Protected Member Functions inherited from QWidget
virtual void actionEvent (QActionEvent *event)
 
virtual void changeEvent (QEvent *event)
 
virtual void closeEvent (QCloseEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
void create (WId window, bool initializeWindow, bool destroyOldWindow)
 
void destroy (bool destroyWindow, bool destroySubWindows)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragLeaveEvent (QDragLeaveEvent *event)
 
virtual void dragMoveEvent (QDragMoveEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
virtual void enterEvent (QEnterEvent *event)
 
virtual bool event (QEvent *event) override
 
virtual void focusInEvent (QFocusEvent *event)
 
bool focusNextChild ()
 
virtual bool focusNextPrevChild (bool next)
 
virtual void focusOutEvent (QFocusEvent *event)
 
bool focusPreviousChild ()
 
virtual void hideEvent (QHideEvent *event)
 
virtual void initPainter (QPainter *painter) const const override
 
virtual void inputMethodEvent (QInputMethodEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual int metric (PaintDeviceMetric m) const const override
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual bool nativeEvent (const QByteArray &eventType, void *message, qintptr *result)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void showEvent (QShowEvent *event)
 
virtual void tabletEvent (QTabletEvent *event)
 
void updateMicroFocus (Qt::InputMethodQuery query)
 
virtual void wheelEvent (QWheelEvent *event)
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Supports controlling INDI telescope devices including setting/retrieving mount properties, slewing, motion and speed controls, in addition to enforcing altitude limits and parking/unparking.

Author
Jasem Mutlaq
Version
1.5

Definition at line 32 of file mount.h.

Property Documentation

◆ altitudeLimits

QList< double > Ekos::Mount::altitudeLimits
readwrite

Definition at line 40 of file mount.h.

◆ altitudeLimitsEnabled

bool Ekos::Mount::altitudeLimitsEnabled
readwrite

Definition at line 41 of file mount.h.

◆ autoParkEnabled

bool Ekos::Mount::autoParkEnabled
readwrite

Definition at line 44 of file mount.h.

◆ canPark

bool Ekos::Mount::canPark
read

Definition at line 50 of file mount.h.

◆ equatorialCoords

QList< double > Ekos::Mount::equatorialCoords
read

Definition at line 45 of file mount.h.

◆ horizontalCoords

QList< double > Ekos::Mount::horizontalCoords
read

Definition at line 46 of file mount.h.

◆ hourAngle

double Ekos::Mount::hourAngle
read

Mount::hourAngle.

Returns
returns the current mount hour angle in hours in the range -12 to +12

Definition at line 47 of file mount.h.

◆ hourAngleLimit

double Ekos::Mount::hourAngleLimit
readwrite

Definition at line 42 of file mount.h.

◆ hourAngleLimitEnabled

bool Ekos::Mount::hourAngleLimitEnabled
readwrite

Definition at line 43 of file mount.h.

◆ locationSources

QStringList Ekos::Mount::locationSources
read

Definition at line 53 of file mount.h.

◆ logText

QStringList Ekos::Mount::logText
read

Definition at line 39 of file mount.h.

◆ opticalTrain

QString Ekos::Mount::opticalTrain
readwrite

Definition at line 36 of file mount.h.

◆ parkStatus

ISD::ParkStatus Ekos::Mount::parkStatus
read

Definition at line 38 of file mount.h.

◆ pierSide

ISD::Mount::PierSide Ekos::Mount::pierSide
read

Definition at line 51 of file mount.h.

◆ slewRate

int Ekos::Mount::slewRate
readwrite

Definition at line 48 of file mount.h.

◆ slewStatus

IPState Ekos::Mount::slewStatus
read

Definition at line 49 of file mount.h.

◆ status

ISD::Mount::Status Ekos::Mount::status
read

Definition at line 37 of file mount.h.

◆ timeSources

QStringList Ekos::Mount::timeSources
read

Definition at line 52 of file mount.h.

Constructor & Destructor Documentation

◆ Mount()

Ekos::Mount::Mount ( )

Use instead of KDeclarative

Definition at line 51 of file mount.cpp.

◆ ~Mount()

Ekos::Mount::~Mount ( )
override

Definition at line 203 of file mount.cpp.

Member Function Documentation

◆ abort()

bool Ekos::Mount::abort ( )

DBUS interface function.

Aborts the mount motion

Returns
true if the command is sent successfully, false otherwise.

Definition at line 1170 of file mount.cpp.

◆ activeMount()

ISD::Mount * Ekos::Mount::activeMount ( ) const
inline

Definition at line 111 of file mount.h.

◆ addLocationSource()

bool Ekos::Mount::addLocationSource ( const QSharedPointer< ISD::GenericDevice > & device)

addLocationSource Add an INDI driver that can be used for a master location source

Parameters
deviceINDI driver containing a GEOGRAPHIC_COORD property
Returns
true if adding is successful, false otherwise.

Definition at line 394 of file mount.cpp.

◆ addTimeSource()

bool Ekos::Mount::addTimeSource ( const QSharedPointer< ISD::GenericDevice > & device)

addTimeSource Add an INDI driver that can be used for a master time source

Parameters
deviceINDI driver containing a TIME_UTC property
Returns
true if adding is successful, false otherwise.

Definition at line 351 of file mount.cpp.

◆ altitudeLimits()

Q_SCRIPTABLE QList< double > Ekos::Mount::altitudeLimits ( )

DBUS interface function.

Returns the mount altitude limits.

Returns
Returns array of doubles. First item is minimum altitude in degrees. Second item is maximum altitude limit in degrees.

◆ altitudeLimitsEnabled()

Q_SCRIPTABLE bool Ekos::Mount::altitudeLimitsEnabled ( )

DBUS interface function.

Returns whether the mount limits are enabled or disabled.

Returns
True if enabled, false otherwise.

◆ appendLogText()

void Ekos::Mount::appendLogText ( const QString & text)

Definition at line 828 of file mount.cpp.

◆ autoParkEnabled()

Q_SCRIPTABLE bool Ekos::Mount::autoParkEnabled ( )

autoParkEnabled Check if auto-park is enabled.

Returns
True if enabled.

◆ azAltToHaDec()

bool Ekos::Mount::azAltToHaDec ( QString qsAz,
QString qsAlt )

Definition at line 1356 of file mount.cpp.

◆ azAltToRaDec()

bool Ekos::Mount::azAltToRaDec ( QString qsAz,
QString qsAlt )

Definition at line 1336 of file mount.cpp.

◆ canPark()

Q_INVOKABLE Q_SCRIPTABLE bool Ekos::Mount::canPark ( )

DBUS interface function.

Can mount park?

◆ centerMount()

void Ekos::Mount::centerMount ( )

Definition at line 1426 of file mount.cpp.

◆ clearLog()

void Ekos::Mount::clearLog ( )

Definition at line 849 of file mount.cpp.

◆ currentTarget()

SkyPoint Ekos::Mount::currentTarget ( )

DBUS interface function.

Get Horizontal coords.

Definition at line 1106 of file mount.cpp.

◆ disableHaLimits

void Ekos::Mount::disableHaLimits ( )
slot

disableAltLimits calls enableHourAngleLimits(false).

This function is mostly used to disable altitude limit once a meridial flip process is started.

Definition at line 944 of file mount.cpp.

◆ doPulse

void Ekos::Mount::doPulse ( GuideDirection ra_dir,
int ra_msecs,
GuideDirection dec_dir,
int dec_msecs )
slot

Send a guide pulse to the telescope.

Parameters
ra_dirRA guide direction
ra_msecsduration of the RA guiding pulse in milliseconds
dec_dirdec guide direction
dec_msecsduration of the DEC guiding pulse in milliseconds

Definition at line 874 of file mount.cpp.

◆ enableHaLimits

void Ekos::Mount::enableHaLimits ( )
slot

enableHaLimits calls enableHourAngleLimits(true).

This function is mostly used to enable hour angle limit after a meridian flip is complete.

Definition at line 937 of file mount.cpp.

◆ enableHourAngleLimits

void Ekos::Mount::enableHourAngleLimits ( bool enable)
slot

enableHourAngleLimits Enable or disable hour angle limits

Parameters
enableTrue to enable, false to disable.

Definition at line 931 of file mount.cpp.

◆ equatorialCoords()

Q_SCRIPTABLE QList< double > Ekos::Mount::equatorialCoords ( )

DBUS interface function.

Get equatorial coords (JNow). An array of doubles is returned. First element is RA in hours. Second elements is DEC in degrees.

◆ findTarget()

void Ekos::Mount::findTarget ( )

Definition at line 1263 of file mount.cpp.

◆ getAllSettings()

QVariantMap Ekos::Mount::getAllSettings ( ) const

Definition at line 1709 of file mount.cpp.

◆ getLogText()

QString Ekos::Mount::getLogText ( ) const
inline

Definition at line 102 of file mount.h.

◆ getMeridianFlipState()

QSharedPointer< MeridianFlipState > Ekos::Mount::getMeridianFlipState ( ) const
inline

getMeridianFlipState

Returns

Definition at line 138 of file mount.h.

◆ gotoTarget() [1/2]

bool Ekos::Mount::gotoTarget ( const QString & target)

DBUS interface function.

Slew the mount to the target. Target name must be valid in KStars.

Parameters
targetname
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1002 of file mount.cpp.

◆ gotoTarget [2/2]

bool Ekos::Mount::gotoTarget ( const SkyPoint & target)
slot

gotoTarget Slew to target coordinates.

Parameters
targetTarget
Returns
True if slew successful, false otherwise.

Definition at line 1015 of file mount.cpp.

◆ haDecToAzAlt()

bool Ekos::Mount::haDecToAzAlt ( QString qsHA,
QString qsDec )

Definition at line 1402 of file mount.cpp.

◆ haDecToRaDec()

bool Ekos::Mount::haDecToRaDec ( QString qsHA)

Definition at line 1387 of file mount.cpp.

◆ horizontalCoords()

Q_SCRIPTABLE QList< double > Ekos::Mount::horizontalCoords ( )

DBUS interface function.

Get Horizontal coords. An array of doubles is returned. First element is Azimuth in degrees. Second elements is Altitude in degrees.

◆ hourAngle()

Q_SCRIPTABLE double Ekos::Mount::hourAngle ( )

DBUS interface function.

Get mount hour angle in hours (-12 to +12).

◆ hourAngleLimit()

Q_SCRIPTABLE double Ekos::Mount::hourAngleLimit ( )

DBUS interface function.

Returns the mount hour angle limit.

Returns
Returns hour angle limit in hours.

◆ hourAngleLimitEnabled()

Q_SCRIPTABLE bool Ekos::Mount::hourAngleLimitEnabled ( )

DBUS interface function.

Returns whether the mount limits are enabled or disabled.

Returns
True if enabled, false otherwise.

◆ initialHA()

double Ekos::Mount::initialHA ( )

DBUS interface function.

Get the hour angle of that time the mount has slewed to the current position. This is used to manage the meridian flip for mounts which do not report pier side. only one attempt to flip is done.

Definition at line 2110 of file mount.cpp.

◆ locationSources()

Q_INVOKABLE QStringList Ekos::Mount::locationSources ( )
inline

Definition at line 361 of file mount.h.

◆ logText()

QStringList Ekos::Mount::logText ( )
inline

Definition at line 98 of file mount.h.

◆ meridianFlipEnabled()

bool Ekos::Mount::meridianFlipEnabled ( )

Definition at line 1532 of file mount.cpp.

◆ meridianFlipStatusDescription()

QString Ekos::Mount::meridianFlipStatusDescription ( )
inline

Definition at line 366 of file mount.h.

◆ meridianFlipValue()

double Ekos::Mount::meridianFlipValue ( )

Definition at line 1537 of file mount.cpp.

◆ motionCommand

void Ekos::Mount::motionCommand ( int command,
int NS,
int WE )
slot

move Issues motion command to the mount to move in a particular direction based the request NS and WE values

Parameters
commandEither ISD::Mount::MOTION_START (0) or ISD::Mount::MOTION_STOP (1)
NSis either -1 for no direction, or ISD::Mount::MOTION_NORTH (0), or ISD::Mount::MOTION_SOUTH (1)
WEis either -1 for no direction, or ISD::Mount::MOTION_WEST (0), or ISD::Mount::MOTION_EAST (1)

Definition at line 855 of file mount.cpp.

◆ newCoords

void Ekos::Mount::newCoords ( const SkyPoint & position,
ISD::Mount::PierSide pierSide,
const dms & ha )
signal

Update event with the current telescope position.

Parameters
positionmount position. Independent from the mount type, the EQ coordinates(both JNow and J2000) as well as the alt/az values are filled.
piersidefor GEMs report the pier side the scope is currently (PierSide::PIER_WEST means the mount is on the western side of the pier pointing east of the meridian).
hacurrent hour angle

◆ newStatus

void Ekos::Mount::newStatus ( ISD::Mount::Status status)
signal

Change in the mount status.

◆ newTarget

void Ekos::Mount::newTarget ( SkyPoint & currentCoord)
signal

The mount has finished the slew to a new target.

Parameters
currentCoordsexact position where the mount is positioned

◆ newTargetName

void Ekos::Mount::newTargetName ( const QString & name)
signal

The mount has finished the slew to a new target.

Parameters
NameName of object, if any, the mount is positioned at.

◆ opticalTrain()

QString Ekos::Mount::opticalTrain ( ) const
inline

Definition at line 86 of file mount.h.

◆ paaStageChanged

void Ekos::Mount::paaStageChanged ( int stage)
slot

React upon status changes of the polar alignment - mainly to avoid meridian flips happening during polar alignment.

Definition at line 789 of file mount.cpp.

◆ park()

bool Ekos::Mount::park ( )

DBUS interface function.

Park mount

Definition at line 1228 of file mount.cpp.

◆ parkStatus()

ISD::ParkStatus Ekos::Mount::parkStatus ( ) const
inline

Definition at line 129 of file mount.h.

◆ pierSide()

ISD::Mount::PierSide Ekos::Mount::pierSide ( ) const
inline

Definition at line 122 of file mount.h.

◆ raDecToAzAlt()

bool Ekos::Mount::raDecToAzAlt ( QString qsRA,
QString qsDec )

Definition at line 1295 of file mount.cpp.

◆ raDecToHaDec()

bool Ekos::Mount::raDecToHaDec ( QString qsRA)

Definition at line 1313 of file mount.cpp.

◆ refreshOpticalTrain()

void Ekos::Mount::refreshOpticalTrain ( )

Definition at line 1657 of file mount.cpp.

◆ registerNewModule

void Ekos::Mount::registerNewModule ( const QString & name)
slot

registerNewModule Register an Ekos module as it arrives via DBus and create the appropriate DBus interface to communicate with it.

Parameters
nameof module

Definition at line 532 of file mount.cpp.

◆ removeDevice()

void Ekos::Mount::removeDevice ( const QSharedPointer< ISD::GenericDevice > & device)

Definition at line 434 of file mount.cpp.

◆ resetModel()

bool Ekos::Mount::resetModel ( )

DBUS interface function.

Reset mount model if supported by the mount.

Returns
true if the command is executed successfully, false otherwise.

Definition at line 1432 of file mount.cpp.

◆ resumeAltLimits

void Ekos::Mount::resumeAltLimits ( )
slot

resumeAltLimits calls enableAltitudeLimits(true).

This function is mostly used to enable altitude limit after a meridian flip is complete.

Definition at line 917 of file mount.cpp.

◆ saveLimits

void Ekos::Mount::saveLimits ( )
slot

saveLimits Saves altitude limit to the user options and updates the INDI telescope driver limits

Definition at line 882 of file mount.cpp.

◆ setAllSettings()

void Ekos::Mount::setAllSettings ( const QVariantMap & settings)

Definition at line 1739 of file mount.cpp.

◆ setAltitudeLimits [1/2]

void Ekos::Mount::setAltitudeLimits ( bool enable)
slot

Enable or disable altitude limits.

Parameters
enableTrue to enable, false to disable.

Definition at line 890 of file mount.cpp.

◆ setAltitudeLimits() [2/2]

void Ekos::Mount::setAltitudeLimits ( QList< double > limits)

DBUS interface function.

Sets the mount altitude limits, and whether they are enabled or disabled.

Parameters
limitsis a list of double values. 2 values are expected: minAltitude & maxAltitude

Definition at line 961 of file mount.cpp.

◆ setAltitudeLimitsEnabled()

void Ekos::Mount::setAltitudeLimitsEnabled ( bool enable)

DBUS interface function.

Enable or disable mount altitude limits.

Definition at line 967 of file mount.cpp.

◆ setAutoParkDailyEnabled()

void Ekos::Mount::setAutoParkDailyEnabled ( bool enabled)

setAutoParkDailyEnabled toggles everyday Auto Park

Parameters
enabletrue to activate, false to deactivate

Definition at line 1522 of file mount.cpp.

◆ setAutoParkEnabled()

void Ekos::Mount::setAutoParkEnabled ( bool enable)

setAutoParkEnabled Toggle Auto Park

Parameters
enableTrue to start, false to stop

Definition at line 1514 of file mount.cpp.

◆ setAutoParkStartup()

void Ekos::Mount::setAutoParkStartup ( QTime startup)

setAutoParkStartup Set time when automatic parking is activated.

Parameters
startupStartup time. should not be more than 12 hours away.

Definition at line 1527 of file mount.cpp.

◆ setHourAngleLimit()

void Ekos::Mount::setHourAngleLimit ( double limit)

DBUS interface function.

Sets the mount altitude limits, and whether they are enabled or disabled.

Parameters
limitsis a list of double values. 2 values are expected: minAltitude & maxAltitude

Definition at line 982 of file mount.cpp.

◆ setHourAngleLimitEnabled()

void Ekos::Mount::setHourAngleLimitEnabled ( bool enable)

DBUS interface function.

Enable or disable mount hour angle limit. Mount cannot slew and/or track past this hour angle distance.

Definition at line 987 of file mount.cpp.

◆ setJ2000Enabled()

void Ekos::Mount::setJ2000Enabled ( bool enabled)

Definition at line 997 of file mount.cpp.

◆ setLeftRightReversed()

void Ekos::Mount::setLeftRightReversed ( bool enabled)

Definition at line 776 of file mount.cpp.

◆ setMeridianFlipValues

void Ekos::Mount::setMeridianFlipValues ( bool activate,
double degrees )
slot

set meridian flip activation and hours

Parameters
activatetrue iff the meridian flip should be executed
degreesangle past the meridian when the flip should be delayed

Definition at line 783 of file mount.cpp.

◆ setMount()

bool Ekos::Mount::setMount ( ISD::Mount * device)

addMount Add a new Mount device

Parameters
devicepointer to mount device
Returns
True if added successfully, false if duplicate or failed to add.

Definition at line 249 of file mount.cpp.

◆ setOpticalTrain()

void Ekos::Mount::setOpticalTrain ( const QString & value)
inline

Definition at line 90 of file mount.h.

◆ setSlewRate()

bool Ekos::Mount::setSlewRate ( int index)

Definition at line 761 of file mount.cpp.

◆ setTrackEnabled()

void Ekos::Mount::setTrackEnabled ( bool enabled)

DBUS interface function.

Return parking status of the mount.

Definition at line 1464 of file mount.cpp.

◆ setUpDownReversed()

void Ekos::Mount::setUpDownReversed ( bool enabled)

Definition at line 769 of file mount.cpp.

◆ setupOpticalTrainManager()

void Ekos::Mount::setupOpticalTrainManager ( )

Definition at line 1641 of file mount.cpp.

◆ slew() [1/2]

bool Ekos::Mount::slew ( const QString & RA,
const QString & DEC )

Like above but RA and DEC are strings HH:MM:SS and DD:MM:SS.

Definition at line 1033 of file mount.cpp.

◆ slew() [2/2]

bool Ekos::Mount::slew ( double RA,
double DEC )

DBUS interface function.

Slew the mount to the RA/DEC (JNow).

Parameters
RARight ascention is hours.
DECDeclination in degrees.
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1080 of file mount.cpp.

◆ slewRate()

Q_INVOKABLE Q_SCRIPTABLE int Ekos::Mount::slewRate ( )

DBUS interface function.

Get the mount slew rate index 0 to N-1, or -1 if slew rates are not supported.

◆ slewStatus()

Q_INVOKABLE Q_SCRIPTABLE IPState Ekos::Mount::slewStatus ( )

DBUS interface function.

Get the mount slew status ("Idle","Complete", "Busy", "Error")

◆ status()

ISD::Mount::Status Ekos::Mount::status ( ) const
inline

Definition at line 107 of file mount.h.

◆ statusString()

QString Ekos::Mount::statusString ( bool translated = true) const
inline

Definition at line 115 of file mount.h.

◆ stopTimers

void Ekos::Mount::stopTimers ( )
slot

stopTimers Need to stop update timers when profile is disconnected but due to timing and race conditions, the timers can trigger an invalid access to INDI device.

Definition at line 1542 of file mount.cpp.

◆ suspendAltLimits

void Ekos::Mount::suspendAltLimits ( )
slot

suspendAltLimits calls enableAltitudeLimits(false).

This function is mostly used to disable altitude limit once a meridial flip process is started.

Definition at line 925 of file mount.cpp.

◆ sync() [1/2]

bool Ekos::Mount::sync ( const QString & RA,
const QString & DEC )

Like above but RA and DEC are strings HH:MM:SS and DD:MM:SS.

Definition at line 1117 of file mount.cpp.

◆ sync() [2/2]

bool Ekos::Mount::sync ( double RA,
double DEC )

DBUS interface function.

Sync the mount to the RA/DEC (JNow).

Parameters
RARight ascention is hours.
DECDeclination in degrees.
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1162 of file mount.cpp.

◆ syncAxisReversed

void Ekos::Mount::syncAxisReversed ( INDI_EQ_AXIS axis,
bool reversed )
slot

syncAxisReversed Update Mount Control GUI on the reverse motion toggled state.

Parameters
axisRA (left/right) or DE (up/down)
reversedTrue if reversed, false otherwise.

Definition at line 1633 of file mount.cpp.

◆ syncLocationSource

void Ekos::Mount::syncLocationSource ( )
slot

syncLocationSource When location source changes, update all INDI drivers to this location source

Definition at line 2126 of file mount.cpp.

◆ syncTarget()

bool Ekos::Mount::syncTarget ( const QString & target)

DBUS interface function.

Sync the mount to the target. Target name must be valid in KStars.

Parameters
targetname
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1020 of file mount.cpp.

◆ syncTelescopeInfo

void Ekos::Mount::syncTelescopeInfo ( )
slot

syncTelescopeInfo Update telescope information to reflect any property changes

Definition at line 455 of file mount.cpp.

◆ syncTimeSource

void Ekos::Mount::syncTimeSource ( )
slot

syncTimeSource When time source changes, update all INDI drivers to this time source

Definition at line 2118 of file mount.cpp.

◆ timeSources()

Q_INVOKABLE QStringList Ekos::Mount::timeSources ( )
inline

Definition at line 357 of file mount.h.

◆ toggleMountToolBox

void Ekos::Mount::toggleMountToolBox ( )
slot

Definition at line 1245 of file mount.cpp.

◆ unpark()

bool Ekos::Mount::unpark ( )

DBUS interface function.

Unpark mount

Definition at line 1236 of file mount.cpp.

◆ updateLog

void Ekos::Mount::updateLog ( int messageID)
slot

updateLog Update mount module log to include any messages arriving for the telescope driver

Parameters
messageIDID of the new message

Definition at line 838 of file mount.cpp.

◆ updateProperty

void Ekos::Mount::updateProperty ( INDI::Property prop)
slot

updateProperty Update properties under watch in the mount module

Parameters
propINDI property

Definition at line 731 of file mount.cpp.

◆ updateTelescopeCoords

void Ekos::Mount::updateTelescopeCoords ( const SkyPoint & position,
ISD::Mount::PierSide pierSide,
const dms & ha )
slot

updateTelescopeCoords is triggered by the ISD::Mount::newCoord() event and updates the displayed coordinates of the mount and to ensure mount is within altitude limits if the altitude limits are enabled.

The frequency of this update depends on the REFRESH parameter of the INDI mount device.

Parameters
positionlatest coordinates the mount reports it is pointing to
pierSidepierSide
hahour angle of the latest coordinates

Definition at line 542 of file mount.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.