Added new feature msgPrintControl from sinqMotor 0.8.0.

Correspondingly, the minimum version requirement for sinqMotor has been bumped to 0.8.0.
This commit is contained in:
2025-03-04 12:41:20 +01:00
parent cb91a8aa36
commit 4ad842c097
8 changed files with 299 additions and 408 deletions

View File

@@ -38,7 +38,7 @@ class masterMacsController : public sinqController {
* @return masterMacsAxis* If no axis could be found, this is a
* nullptr
*/
masterMacsAxis *getAxis(asynUser *pasynUser);
masterMacsAxis *getMasterMacsAxis(asynUser *pasynUser);
/**
* @brief Get the axis object
@@ -47,7 +47,7 @@ class masterMacsController : public sinqController {
* @return masterMacsAxis* If no axis could be found, this is a
* nullptr
*/
masterMacsAxis *getAxis(int axisNo);
masterMacsAxis *getMasterMacsAxis(int axisNo);
protected:
asynUser *lowLevelPortUser_;
@@ -114,15 +114,6 @@ class masterMacsController : public sinqController {
int *valueStop, int axisNo, int tcpCmd,
bool isRead);
/**
* @brief Save cast of the given asynAxis pointer to a masterMacsAxis
* pointer. If the cast fails, this function returns a nullptr.
*
* @param asynAxis
* @return masterMacsAxis*
*/
masterMacsAxis *castToAxis(asynMotorAxis *asynAxis);
private:
// Set the maximum buffer size. This is an empirical value which must be
// large enough to avoid overflows for all commands to the device /