1 #ifndef __ISEL_LINEAR_CONTROL_hh__
2 #define __ISEL_LINEAR_CONTROL_hh__
10 #include <Base/Debug/Debug.hh>
14 #include "include/ptu.h"
16 #include "include/linuxser.h"
18 #include "include/W32SERIA.H"
48 int Init(
int nCOMportNumber);
54 int Init(
const char *COMportName);
62 int MoveLeft(
float millimeters);
63 int MoveRight(
float millimeters);
66 int SetSpeed(
int speed);
67 int SetAcceleration(
int accel);
72 void GetSpeed(
int &speed);
77 void GetAcceleration(
int &accel);
82 void GetCurrentPosition(
int &pos);
84 int SetPosition(
int pos,
bool bWaitComplete=
true);
89 void SendRawCommand(std::string cmd);
95 int ReadRawLine(std::string &cmd);
107 #endif // __ISEL_LINEAR_CONTROL_hh__
This class controls the Isel Linear Unit.
unsigned int steps_per_mm_