Rolled back to sinqMotor 1.5.7
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Submodule sinqMotor updated: 95bc899114...e234d05815
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user