QTelescopeMCU Class Reference

controle a Meade telescope via the serial port of the MCU controler. More...

#include <QTelescopeMCU.hpp>

Inheritance diagram for QTelescopeMCU:

Inheritance graph
[legend]
Collaboration diagram for QTelescopeMCU:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

controle a Meade telescope via the serial port of the MCU controler.

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


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Sat Oct 27 09:21:11 2007 for QastroCam by  doxygen 1.5.1