Commit Graph

15 Commits

Author SHA1 Message Date
c5f5cf3065 Specified new version for sinqMotor 2025-05-12 12:04:09 +02:00
468ca46010 Static linking of sinqMotor into masterMacs 2025-05-12 09:04:26 +02:00
cd57409f3c Added motorConnected logic 2025-04-25 15:58:03 +02:00
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
699b588ba5 Replaced ipPortUser_ with ipPortAsynOctetSyncIO_
See comment to sinqMotor 0.12.0
2025-04-15 17:22:15 +02:00
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
16564011a6 Added stop and error reset function for masterMacs 2025-03-19 15:07:09 +01:00
631ee46a50 Removed friend class declaration and replaced access to private,properties with accessors 2025-03-10 17:07:33 +01:00
cf9899062a Modified communication protocol for MCU software 2.0 2025-03-10 14:29:56 +01:00
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
cc6a73fab1 Linter try No. 3 2025-02-14 16:54:56 +01:00
e8ab0a1074 Make the linter happy :-) 2025-02-14 16:52:26 +01:00
6321a78b78 Fully-featured version of the masterMACS driver 2025-02-14 16:44:08 +01:00
ea8c34ab84 WIP version of the MasterMACS driver 2025-01-28 13:16:40 +01:00
7d4c2ea1e4 Initial commit for masterMacs 2024-12-23 09:40:40 +01:00