#include <QTelescopeMCU.hpp>
Inheritance diagram for QTelescopeMCU:


Public Slots | |
| virtual void | goE (float s=0) |
| move East | |
| virtual void | goW (float s=0) |
| move West | |
| virtual void | goS (float s=0) |
| move South | |
| virtual void | goN (float s=0) |
| move North | |
| virtual void | stopE () |
| stop East move | |
| virtual void | stopN () |
| stop North move | |
| virtual void | stopW () |
| stop West move | |
| virtual void | stopS () |
| stop South move | |
| virtual double | setSpeed (double speed) |
| set Telescope move speed. | |
| virtual bool | setTracking (bool activated) |
| set auto tracking mode. | |
Public Member Functions | |
| void | buildGUI (QWidget *parent) |
| build the gui of the QTelescope widget. | |
Protected Types | |
| enum | CommandType |
| send a command to the MCU, wait for the result and return it. | |
At this time there is a bug: it is possible to send data to the MCU, but not to receive. Original code from Gernot Stenz
| void QTelescopeMCU::buildGUI | ( | QWidget * | parent | ) | [virtual] |
build the gui of the QTelescope widget.
if it is overloaded, parents buildGUI should be called by new version.
Reimplemented from QTelescope.
| double QTelescopeMCU::setSpeed | ( | double | speed | ) | [virtual, slot] |
set Telescope move speed.
0=> slowest speed, 1.0=> max speed. the speed entered is an hint. The function must return the real speed.
Implements QTelescope.
| bool QTelescopeMCU::setTracking | ( | bool | activated | ) | [virtual, slot] |
set auto tracking mode.
true=>tracking activated. false=>no tracking. the return value indicate if it was possible: a mount with no tracking mode will allways return !activated (it can always stop).
Implements QTelescope.
1.5.1