Rolled back to sinqMotor 1.5.7
Some checks failed
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s

This commit is contained in:
2026-02-11 10:45:25 +01:00
parent 41c1dad208
commit dbb4e92171
3 changed files with 1 additions and 12 deletions

View File

@@ -9,8 +9,6 @@ ARCH_FILTER=RHEL%
# Specify the version of asynMotor we want to build against
motorBase_VERSION=7.2.2
LIBVERSION=homeerror
# These headers allow to depend on this library for derived drivers.
HEADERS += src/masterMacsAxis.h
HEADERS += src/masterMacsController.h

View File

@@ -317,10 +317,6 @@ asynStatus masterMacsAxis::init() {
__PRETTY_FUNCTION__, __LINE__);
}
// If the readback value from the controller is 3, it is in velocity mode,
// which sinqMotor encodes as a 1. Otherwise, it is in position mode.
setAxisParamChecked(this, motorMode, motMode == 3);
// Check if the motor can switch its mode
status = pC_->read(axisNo_, 31, response);
if (status != asynSuccess) {
@@ -332,11 +328,6 @@ asynStatus masterMacsAxis::init() {
__PRETTY_FUNCTION__, __LINE__);
}
// If the readback value from the controller is 3, the motor supports both
// velocity and position mode, otherwise just one of them (the one read out
// with motMode).
setAxisParamChecked(this, motorCanSetMode, motCanSetMode == 3);
status = readEncoderType();
if (status != asynSuccess) {
return status;