Telescope Control Library

Dependents:   PushToGo-F429

Mount.h

Committer:
caoyuan9642
Date:
2018-08-19
Revision:
0:6cb2eaf8b133
Child:
2:2ee28add0821

File content as of revision 0:6cb2eaf8b133:

#ifndef MOUNT_H_
#define MOUNT_H_

typedef enum
{
	MOUNT_STOPPED = 0,
	MOUNT_SLEWING = 1,
	MOUNT_TRACKING = 2,
	MOUNT_NUDGING = 4,
	MOUNT_NUDGING_TRACKING = MOUNT_TRACKING | MOUNT_NUDGING
} mountstatus_t;

class Mount
{
protected:
	mountstatus_t status;

public:
	Mount() :
			status(MOUNT_STOPPED)
	{
	}

	virtual ~Mount()
	{
	}

	mountstatus_t getStatus()
	{
		return status;
	}
};

#endif /*MOUNT_H_*/