Subversion Repositories seema-scanner

Rev

Rev 207 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 207 Rev 223
Line 1... Line 1...
1
#ifndef ROTATIONSTAGE_H
1
#ifndef ROTATIONSTAGE_H
2
#define ROTATIONSTAGE_H
2
#define ROTATIONSTAGE_H
3
 
3
 
4
#include <stdio.h>
4
#include <stdio.h>
5
#include <string>
5
#include <string>
-
 
6
#include <mutex>
6
extern "C" {
7
extern "C" {
7
    #include "ArcusPerformaxDriver.h"
8
    #include "ArcusPerformaxDriver.h"
8
}
9
}
9
 
10
 
10
class RotationStage{
11
class RotationStage{
Line 33... Line 34...
33
        // Wait/block until motor is idle
34
        // Wait/block until motor is idle
34
        void wait();
35
        void wait();
35
        AR_HANDLE Handle;
36
        AR_HANDLE Handle;
36
    private:
37
    private:
37
        int microSteps;
38
        int microSteps;
-
 
39
        std::mutex mutex;
38
};
40
};
39
 
41
 
40
#endif // ROTATIONSTAGE_H
42
#endif // ROTATIONSTAGE_H