Commit Graph

20 Commits

Author SHA1 Message Date
soederqvist_a b8730e80e0 Remove sinqmotor dep, it's statically linked. specify rhel8 arch 2025-05-28 10:54:59 +02:00
mathis_s 081a21073b Adjusted Makefile for static linking 2025-05-15 11:34:43 +02:00
mathis_s e93f11e779 Adjusted usage of motorMessageText to be an error text only 2025-05-14 16:28:51 +02:00
mathis_s 8d8561d833 Removed sinqMotor from required
sinqMotor is statically compiled into this driver.
2025-05-14 12:20:15 +02:00
mathis_s cd57409f3c Added motorConnected logic 2025-04-25 15:58:03 +02:00
mathis_s 21ffcba8be Back to dev version 2025-04-22 15:07:45 +02:00
mathis_s 3bfc2414b6 Fixed sinqMotor version for tagging 2025-04-22 15:05:16 +02:00
mathis_s 60053244a1 Fixed moving after enable bug
When a MasterMacs motor is powered for the first time, it does not have
a target set. Therefore, the targetReached bit is 0, which the driver
used to interpret as "moving". This is solved now by an additional flag
which checks if the motor did a handshake.

Additionally, the communication module was simplified and new utility
scripts were added. It is now made sure that the communication timeout
for enabling and sending move commands is now at least equal to
PowerCycleTimeout defined in src/masterMacsAxis.cpp.
2025-04-17 16:50:42 +02:00
mathis_s 699b588ba5 Replaced ipPortUser_ with ipPortAsynOctetSyncIO_
See comment to sinqMotor 0.12.0
2025-04-15 17:22:15 +02:00
mathis_s e86c517fc7 Bumped required sinqMotor version to 0.11.0 2025-04-10 09:09:27 +02:00
mathis_s f733718ee7 Using appropriate sinqMotor version 2025-04-09 15:26:45 +02:00
mathis_s a8c3499dc5 Set required sinqMotor version to mathis_s 2025-04-04 13:31:49 +02:00
mathis_s fe52245e38 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.
2025-03-31 10:48:41 +02:00
mathis_s a3e849f386 Changed to the "motorPosition" and "setMotorPosition" functions provided
by sinqMotor.
2025-03-28 14:53:04 +01:00
mathis_s 16564011a6 Added stop and error reset function for masterMacs 2025-03-19 15:07:09 +01:00
mathis_s cf9899062a Modified communication protocol for MCU software 2.0 2025-03-10 14:29:56 +01:00
mathis_s 4ad842c097 Added new feature msgPrintControl from sinqMotor 0.8.0.
Correspondingly, the minimum version requirement for sinqMotor has been bumped to 0.8.0.
2025-03-04 12:42:11 +01:00
mathis_s 6321a78b78 Fully-featured version of the masterMACS driver 2025-02-14 16:44:08 +01:00
mathis_s ea8c34ab84 WIP version of the MasterMACS driver 2025-01-28 13:16:40 +01:00
mathis_s 7d4c2ea1e4 Initial commit for masterMacs 2024-12-23 09:40:40 +01:00