Subversion Repositories seema-scanner

Rev

Rev 10 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef ROTATIONSTAGE_H
#define ROTATIONSTAGE_H

#include <stdio.h>
#include <string>
extern "C" {
    #include "ArcusPerformaxDriver.h"
}

class RotationStage{
    public:
        RotationStage();

        // Send raw command
        int executeStringCommand(std::string cmd);

        // Send raw command and don't return before completion
        int executeStringCommandBlocking(std::string cmd);

        // Move to the desired angle in degrees, measured from the home position in absolute terms
        void moveToAngle(float angle);
    private:
        AR_HANDLE Handle;
};

#endif // ROTATIONSTAGE_H