Commit Graph

38 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 deb6e6996e Ready for release 1.0 1.0.0 2025-05-23 12:29:30 +02:00
mathis_s d1d694ad6b Applied PIMPL principle 2025-05-23 12:16:25 +02:00
mathis_s e0a74c5598 Changed sinqMotor version to 0.15.2 2025-05-16 16:15:01 +02:00
mathis_s c334ed9f04 Add default value for motorMessageText 0.8.0 2025-05-15 12:22:33 +02:00
mathis_s 4b0031c3af Fixed bug with readInt32 function 2025-05-15 12:03:06 +02:00
mathis_s 61335970ce Use latest version of sinqMotor 2025-05-15 11:43:40 +02:00
mathis_s 081a21073b Adjusted Makefile for static linking 2025-05-15 11:34:43 +02:00
mathis_s f2e8eb2762 Fixed serious bug in sinqMotor 2025-05-15 11:32:35 +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 989410474e Added sinqMotor 0.15.0 as static dependency 2025-05-14 16:20:08 +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 a56a8cf646 Added explanation why the return status of doPoll is not used in the enable function. 2025-05-13 14:46:13 +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 0.7.0 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
0.6.0
2025-04-15 17:22:15 +02:00
mathis_s e86c517fc7 Bumped required sinqMotor version to 0.11.0 0.5.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.
0.4.0
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 0.3.0 2025-03-19 15:07:09 +01:00
mathis_s 631ee46a50 Removed friend class declaration and replaced access to private,properties with accessors 2025-03-10 17:07:33 +01:00
mathis_s cf9899062a Modified communication protocol for MCU software 2.0 2025-03-10 14:29:56 +01:00
mathis_s d975af75a2 Suppress strcpy-related errors on a global level 0.2.0 2025-03-04 14:45:47 +01:00
mathis_s 55aabb0468 Suppress strcpy-linter message 2025-03-04 14:37:04 +01:00
mathis_s 755ae42b3b Added cppcheck-suppress for strcpy - I know strcpy is safe because I
check the length beforehand.
2025-03-04 14:19:19 +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 cb91a8aa36 Added .clang-format file 2025-02-17 09:31:35 +01:00
mathis_s cc6a73fab1 Linter try No. 3 0.1.0 2025-02-14 16:54:56 +01:00
mathis_s eb65f6c6bf Another try 2025-02-14 16:53:54 +01:00
mathis_s e8ab0a1074 Make the linter happy :-) 2025-02-14 16:52:26 +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 2a74b6a478 Added CI pipeline 2024-12-23 09:42:05 +01:00
mathis_s 7d4c2ea1e4 Initial commit for masterMacs 2024-12-23 09:40:40 +01:00