Custom timeout for enable and position methods

Added a custom timeout for the enable command, as it takes quite a bit
of time for the motor controller to answer and we don't want to show a
premature communication timeout error. Also changed the code in order to
use the motorPosition() and setMotorPosition() methods instead of
directly accessing the paramLib.
This commit is contained in:
2025-03-31 10:43:37 +02:00
parent a3e849f386
commit fe52245e38
4 changed files with 59 additions and 35 deletions

View File

@ -13,7 +13,7 @@ REQUIRED+=sinqMotor
motorBase_VERSION=7.2.2
# Specify the version of sinqMotor we want to build against
sinqMotor_VERSION=mathis_s
sinqMotor_VERSION=0.10.0
# These headers allow to depend on this library for derived drivers.
HEADERS += src/masterMacsAxis.h