Files
motorBase/motorApp/PIGCS2Src/PIGCS2_HexapodController.h
T
Torsten Bögershausen 532afdc5a0 Remove all lines with svn keywords
They have no meaning in Git, are not updated and may cause unwanted diffs when
otherwise nothing is changed in a file
2015-11-23 08:23:12 +01:00

47 lines
1.4 KiB
C++

/*
FILENAME... PIHexapodController.h
*************************************************************************
* Copyright (c) 2011-2013 Physik Instrumente (PI) GmbH & Co. KG
* This file is distributed subject to the EPICS Open License Agreement
* found in the file LICENSE that is included with this distribution.
*************************************************************************
Original Author: Steffen Rau
*/
#ifndef PIGCS2_HEXAPODCONTROLLER_H_
#define PIGCS2_HEXAPODCONTROLLER_H_
#include "PIHexapodController.h"
/**
* class representing PI GCS2 Hexapods.
*/
class PIGCS2_HexapodController : public PIHexapodController
{
public:
PIGCS2_HexapodController(PIInterface* pInterface, const char* szIDN)
: PIHexapodController(pInterface, szIDN)
{
}
~PIGCS2_HexapodController() {}
virtual asynStatus setVelocityCts( PIasynAxis* pAxis, double velocity );
virtual asynStatus getAxisVelocity(PIasynAxis* pAxis);
virtual asynStatus referenceVelCts( PIasynAxis* pAxis, double velocity, int forwards);
virtual asynStatus getAxisPosition(PIasynAxis* pAxis, double& position)
{
return PIGCSController::getAxisPosition(pAxis, position);
}
virtual bool AcceptsNewTarget() { return true; }
virtual bool CanCommunicateWhileHoming() { return true; }
protected:
virtual const char* GetReadPivotCommand() { return "SPI? R S T"; }
private:
};
#endif /* PIGCS2_HEXAPODCONTROLLER_H_ */