Commit Graph

71 Commits

Author SHA1 Message Date
mathis_s 73c96a73bf Usage in IOC shell is part of the user guide
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 8s
2025-11-03 11:14:39 +01:00
mathis_s e1732639b2 Added manual and .gitignore
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
2025-11-03 08:40:25 +01:00
mathis_s 6f72766ae6 Improved script docs and script usage description in README.md
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
Also introduced graceful error handling when trying to access
interactive mode on Windows.
2025-09-24 15:43:22 +02:00
mathis_s a435c3c960 Update src/masterMacsAxis.cpp
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
Updated comment: encoder type 0 can also mean "no encoder"
2025-09-23 15:11:07 +02:00
mathis_s f1c41d3081 Perform poll even if init fails
Test And Build / Lint (push) Failing after 5s
Test And Build / Build (push) Successful in 8s
1.5.1
2025-09-17 13:12:21 +02:00
mathis_s d78586a815 Updated sinqMotor to 1.5.6
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
2025-09-17 12:38:30 +02:00
mathis_s ebcf99ac56 Updated sinqMotor to 1.5.5 2025-09-17 12:34:47 +02:00
mathis_s de32298609 Updated sinqMotor to 1.5.4 2025-09-17 12:19:00 +02:00
mathis_s 8f457889c0 Updated sinqMotor to 1.5.3 2025-09-17 11:28:53 +02:00
mathis_s 6f63e521c1 Updated sinqMotor to 1.5.2 2025-09-17 11:25:40 +02:00
mathis_s 670f01fbe3 Updated sinqMotor to 1.5.1 to get a better error message in case of speed problems 2025-09-17 10:54:56 +02:00
mathis_s 25286652d5 Moved version definition in Makefile
Test And Build / Lint (push) Failing after 3s
Test And Build / Build (push) Successful in 7s
The expected version can now be set in the Makefile via USR_CXXFLAGS.
Additionally, the README.md has received documentation regarding the
version check. Lastly, the version check can now be disabled by omitting
the flags or setting one of them to a negative value.
1.5.0
2025-08-22 13:18:43 +02:00
mathis_s 27f7cc8602 Added version check prototype
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 8s
2025-08-22 08:46:30 +02:00
mathis_s 21a73717a5 Fixed handshake detection and reset bugs
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
1.4.2
2025-08-14 17:16:14 +02:00
mathis_s 2cbb4f9028 Forgot to add masterMacs.db to Makefile
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
1.4.1
2025-08-14 14:21:05 +02:00
mathis_s 23a911206a Removed node reset from doReset and moved it into dedicated function
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
A "normal" error reset should not trigger a node reset. However, this
option is still available via a dedicated PV xx:NodeReset and a
corresponding function in masterMacsAxis.
1.4.0
2025-08-12 15:51:12 +02:00
mathis_s 6553b468c8 Updated to sinqMotor 1.4.0 and hid all symbols
Test And Build / Lint (push) Failing after 3s
Test And Build / Build (push) Successful in 7s
1.3.0
2025-08-12 09:44:15 +02:00
mathis_s 954fc82414 Moved error handling out of error read condition.
Test And Build / Lint (push) Failing after 9s
Test And Build / Build (push) Successful in 12s
Previously, error messaging was only done after the error has been read.
This means that cached errors were simply ignored, if e.g. the motor was
moving. This commit now messages an error as long as it exists in the
cache "masterMacsAxisImpl->axisError".
1.2.2
2025-08-05 09:04:11 +02:00
mathis_s ff183576ec Added axis reinitialization after node reset
When resetting the node, values within the controller may change, which
need to be reread by the init function.
2025-08-05 08:58:50 +02:00
mathis_s 83f9be3be8 Switched to forcedPoll method 2025-07-24 13:20:30 +02:00
mathis_s 2c0c9a33b7 Updated sinqMotor version 2025-07-24 13:19:24 +02:00
mathis_s 8bb81b1716 Fixed wrong comments
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 8s
2025-07-22 17:13:09 +02:00
mathis_s c32708e49c Removed lastSpeed caching
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 7s
After discussion with Sven Schlienger, I now send the new speed
unconditionally before each move command. This also means that the
caching of the last speed is no longer needed.
1.2.1
2025-07-16 11:23:37 +02:00
wall_e 14a733fb67 adds gitea action
Test And Build / Lint (push) Failing after 4s
Test And Build / Build (push) Successful in 8s
2025-07-04 14:18:44 +02:00
mathis_s 64b932c3ae Fixed bug 1.2.0 2025-07-01 10:05:39 +02:00
mathis_s 09897b6125 Added node reset to doReset 2025-07-01 10:03:20 +02:00
mathis_s 9d47cd4e24 Fixed docs 2025-06-18 09:26:32 +02:00
mathis_s 52fa4e1e78 Updated sinqMotor version 1.1.2 2025-06-18 08:35:00 +02:00
mathis_s a9e08460d9 Updated sinqMotor 1.1.1 2025-06-18 08:17:21 +02:00
mathis_s 37dacbd3ee Updated sinqMotor version and removed unnecessary require 1.1.0 2025-06-17 13:21:59 +02:00
mathis_s d198dc8c9f Use axisParam accessor macros 2025-06-17 13:21:55 +02:00
mathis_s 13f2ec4fbf Switched to macro-based getters and setters for paramLib 2025-06-17 13:21:08 +02:00
mathis_s 6ccb60f263 Merge pull request 'Remove sinqmotor dep, it's statically linked. specify rhel8 arch' (#1) from makefile-fixes into main
Reviewed-on: #1
2025-06-11 16:52:42 +02:00
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