...
This commit is contained in:
@@ -71,20 +71,6 @@ public:
|
||||
coord_t x, y;
|
||||
};
|
||||
|
||||
// c++ish wrapper to 'conf_t' struct
|
||||
|
||||
struct device_config_t {
|
||||
std::string MountDevPath; // path to mount device
|
||||
int MountDevSpeed; // serial speed
|
||||
std::string EncoderDevPath; // path to encoder device
|
||||
int EncoderDevSpeed; // serial speed
|
||||
int SepEncoder; // ==1 if encoder works as separate serial device, ==2 if there's new version with two devices
|
||||
std::string EncoderXDevPath; // paths to new controller devices
|
||||
std::string EncoderYDevPath;
|
||||
double MountReqInterval; // interval between subsequent mount requests (seconds)
|
||||
double EncoderReqInterval; // interval between subsequent encoder requests (seconds)
|
||||
};
|
||||
|
||||
|
||||
struct hardware_config_t {
|
||||
// the 'char*' fields from conf_t:
|
||||
@@ -113,6 +99,7 @@ public:
|
||||
|
||||
error_t setPos(axes_pos_t);
|
||||
error_t getPos(axes_pos_t&);
|
||||
|
||||
error_t stop();
|
||||
error_t init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user