Commit Graph

94 Commits

Author SHA1 Message Date
mathis_s 8a0c3767ff Added switch for fixing an unhomed motor
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 5s
Incremental encoders may report a wrong position after a
power cycle until they have been homed. Since the position of the motor is then
unknown, the motor might hit the limit switches when moving. The newly
introduced record $(INSTR)$(M):FixIfNotHomed provides a switch to
prohibit / allow movement of motors with incremental encoder when they
haven't been homed yet.
2026-03-13 10:19:00 +01:00
mathis_s 86e6ab1fdd Improved homing doc, fixed wrong setting of motorStatusHomed and added check to move
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 6s
2026-03-10 13:17:45 +01:00
mathis_s 492f459678 Adjusted error message
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 6s
2026-03-09 13:03:05 +01:00
mathis_s 4cb51814b8 Added callback 2026-03-09 11:55:33 +01:00
mathis_s 0e6c77b456 Return success if motor needs to be homed first 2026-03-09 11:36:51 +01:00
mathis_s 92c264d0f6 Added error message 2026-03-06 14:25:46 +01:00
mathis_s a84992b4cd Improved homing doc, fixed wrong setting of motorStatusHomed and added check to move
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 6s
2026-03-06 11:20:33 +01:00
mathis_s 7b8c4db43e Added small docstring to motorVelocity explaining an important caveat.
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 5s
2026-02-13 09:25:27 +01:00
mathis_s 95bc899114 Added safe limit setter
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 6s
2026-02-10 08:48:25 +01:00
mathis_s 82f509596d Added disconnect handling to sinqMotor 2026-02-10 08:33:03 +01:00
mathis_s 2376e2adfd Roll head back to 1.5.7
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 5s
2026-02-10 08:10:56 +01:00
mathis_s 4e30331c92 Added disconnect handling to sinqMotor
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 6s
2026-01-22 09:52:24 +01:00
mathis_s 2578081814 Added dedicated interface function for setting the operation mode.
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 5s
2026-01-20 16:47:36 +01:00
mathis_s 6f639d7233 Added scaffolding for velocity mode
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 5s
Added records to support detection of the current operation mode
(position or velocity), whether one is allowed to change between the two
and a record to actually change between the two. Also added a
doMoveVelocity method which should be implemented by derived drivers if
they support velocity mode.
2026-01-20 14:11:06 +01:00
mathis_s e234d05815 Fixed segfault if an axis is misconfigured (i.e. is not a sinqAxis
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 5s
2025-12-23 11:42:46 +01:00
mathis_s 59a5ba452f Fixed ordering
Test And Build / Build (push) Successful in 6s
Test And Build / Lint (push) Successful in 5s
2025-09-17 12:37:55 +02:00
mathis_s 6dc2b131f7 Exempt EPICS libraries from -Weffc++
Test And Build / Build (push) Failing after 6s
Test And Build / Lint (push) Successful in 26s
2025-09-17 12:33:58 +02:00
mathis_s 902b18d038 Excempt EPICS libraries from -Weffc++
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 7s
2025-09-17 12:18:06 +02:00
mathis_s 0e10bcf69d Fixed some more warnings
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 6s
2025-09-17 11:28:12 +02:00
mathis_s cb4adb068c Fixed some warnings
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 5s
2025-09-17 11:24:15 +02:00
mathis_s d7c9d009ee Better solution for suppressing unused variable warning
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 5s
2025-09-17 11:08:24 +02:00
mathis_s 3ab40a8bf5 Fixed compiler warnings
Test And Build / Lint (push) Failing after 2s
Test And Build / Build (push) Successful in 7s
2025-09-17 10:52:56 +02:00
mathis_s 9a32532c22 Expanded error messageto give users the ability to help themselves
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 6s
2025-09-17 10:24:07 +02:00
mathis_s cff64f5ecf Added new feature to set deadband
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 12s
The field SPDB can now be populated via either the substitutions file or
from inside the driver (using the motorPositionDeadband paramLib entry).
2025-09-09 16:50:26 +02:00
mathis_s 7a0de4e9d9 Perform callParamCallbacks even if movement watchdog timed out
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 5s
2025-08-14 17:15:21 +02:00
mathis_s 7965dd3b2e Refactored the HIDDEN macro into its own header
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 5s
2025-08-12 09:07:32 +02:00
mathis_s c19e4845e4 Hide visibility of sinqController classes
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 6s
2025-08-12 08:51:54 +02:00
mathis_s c65a8de5dd Made forcedPoll non-virtual so it doesn't break the ABI
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 6s
2025-07-24 11:29:15 +02:00
mathis_s 1910eda0b1 Added forcedPoll method which skips the adaptive polling checks
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 6s
The poll method does various tasks. One of them is skipping the poll if
adaptive polling is enabled and certain conditions are fulfilled (see
docs). However, sometimes it is needed to force a poll regardless.
Therefore, a new method forcedPoll was added which is wrapped by poll
now and does all tasks of the previous poll function except for the skip
check.
2025-07-24 11:13:37 +02:00
mathis_s 55a9fe6f3e Fixed another calling signature bug 2025-06-18 08:25:39 +02:00
mathis_s e618b39687 Fixed function call arguments in template 2025-06-18 08:15:34 +02:00
mathis_s 41dfd1de5a Fixed docs 2025-06-17 13:13:43 +02:00
mathis_s 07cab3ac2a Replaced sizeof with template parameter N 2025-06-17 10:22:13 +02:00
mathis_s e194736206 Fixed bug in char array getter 2025-06-17 09:39:12 +02:00
mathis_s 30af284f5d Safer handling of reading bools from the param lib 2025-06-17 09:36:44 +02:00
mathis_s 6069aa9194 Fixed typo 2025-06-17 09:32:42 +02:00
mathis_s c475beee66 Fixed char array getAxisParam function 2025-06-17 09:30:40 +02:00
mathis_s b1fe452ed6 Added cast for specialized function 2025-06-17 09:24:20 +02:00
mathis_s d395c7bbb7 Added getAxisParam variant for char arrays 2025-06-17 08:51:58 +02:00
mathis_s a6f2890c76 Adjusted char[BUF] template 2025-06-17 08:43:51 +02:00
mathis_s fef61bc804 Fixed template error 2025-06-17 08:40:35 +02:00
mathis_s 3d984f26bc Moved template functions to header to avoid linker errors 2025-06-17 08:33:18 +02:00
mathis_s 2f8ae23d57 Added static cast to force correct type 2025-06-16 16:15:24 +02:00
mathis_s 603b3e77af Revised version with adapted macros 2025-06-16 15:53:36 +02:00
mathis_s 31ff26cb78 Generalized getAxisParam 2025-06-16 15:24:28 +02:00
mathis_s 43df40aaea WIP 2025-06-16 13:32:49 +02:00
mathis_s bdefc6090d Added getters and setters for wasMoving and targetPosition 2025-06-10 14:09:20 +02:00
mathis_s c2eca33ce8 Ready for release 1.0 2025-05-23 12:25:48 +02:00
mathis_s 87980e403c Fixed bug regarding the poll period member variables 2025-05-23 11:17:34 +02:00
mathis_s b95e782ea8 Added accessor for maxSubsequentTimeoutsExceeded flag 2025-05-23 10:10:54 +02:00