Commit Graph

107 Commits

Author SHA1 Message Date
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 4d27783062 Fixed some further errors in the docs
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 6s
2025-07-24 12:04:47 +02:00
mathis_s 5273feef6c Fixed wrong description of IOC startup script
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 6s
2025-07-24 12:03:28 +02:00
mathis_s cccfc79860 Added documentation regarding virtual methods
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 6s
2025-07-24 11:54:10 +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
1.3.0
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 977016bdb4 Reverted commit 4a0c09bd7f (this should have been done in a branch)
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 6s
2025-07-23 17:07:54 +02:00
mathis_s ed77125378 Merge branch 'main' of gitea.psi.ch:lin-epics-modules/sinqMotor
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 6s
2025-07-23 09:53:58 +02:00
mathis_s 4a0c09bd7f Push DLLM should process at each poll, even if the value stays the same 2025-07-23 09:53:49 +02:00
wall_e 1fe21ec192 adds gitea action
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Successful in 5s
2025-07-04 14:16:14 +02:00
mathis_s 2fd4851313 Expandend upon dependency usage in README.md 2025-06-26 14:02:59 +02:00
mathis_s 55a9fe6f3e Fixed another calling signature bug 1.2.2 2025-06-18 08:25:39 +02:00
mathis_s e618b39687 Fixed function call arguments in template 1.2.1 2025-06-18 08:15:34 +02:00
mathis_s 41dfd1de5a Fixed docs 1.2.0 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 1.1.0 2025-06-10 14:09:20 +02:00
mathis_s c2eca33ce8 Ready for release 1.0 1.0.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
mathis_s cd7cc75eb7 Added destructors for the classes in order to use the PIMPL idiom with
uniqe_ptr
2025-05-23 09:38:41 +02:00
mathis_s 83aa437b6b Applied PIMPL by moving members to internal struct sinqAxisImpl
This change makes sinqMotor ready for 1.x releases where ABI stability
and backwards compatibility is guaranteed.
2025-05-22 13:56:44 +02:00
mathis_s 275672aaef Removed lock in reset and replaced it with wakeupPoller call
Trying to lock the controller from one of its axes may lead to
segfaults, hence it is not advisable.
0.15.2
2025-05-16 15:50:26 +02:00
mathis_s 61c5ec749e Merge branch 'main' of gitea.psi.ch:lin-epics-modules/sinqMotor 2025-05-15 14:26:15 +02:00
mathis_s 1cf4b9ab25 Made some functions virtual so they can be overwritten 2025-05-15 14:26:00 +02:00
mathis_s a0b674b26e Made some functions virtual so they can be overwritten 0.15.1 2025-05-15 14:24:53 +02:00
mathis_s e088bfbbcb Added initial value for motorMessageText 0.15.0 2025-05-15 11:39:47 +02:00
mathis_s 3c345e37da Fixed char array undefined symbol bug 2025-05-15 11:25:56 +02:00
mathis_s b267200039 Simplified paramLib access and show error messages for one poll cycle
Simplified getting and setting paramLib entries via a macro and created
a mechanism within poll() which makes sure that error messages are shown
for at least one poll cycle. Also moved MAXBUF_ to the SinqController
level.
2025-05-14 16:07:03 +02:00
mathis_s 9bc90cff61 Simplified paramLib access and show error messages for one poll cycle
Simplified getting and setting paramLib entries via a macro and created
a mechanism within poll() which makes sure that error messages are shown
for at least one poll cycle. Also moved MAXBUF_ to the SinqController
level.
2025-05-14 15:59:48 +02:00
mathis_s 9792697d03 Addes instructions how to use sinqMotor as static dependency. 2025-05-12 16:41:33 +02:00
mathis_s 4d1c21fd74 Added a license (GPL3) 2025-05-09 11:59:51 +02:00
mathis_s dbcfebc6de Added function to set the number of forced fast polls. 2025-05-09 08:14:05 +02:00
mathis_s b89fe41c6e Added macros for adding and retrieving paramlib entries in order to make
the code less cluttered. Also built in a mechanism which makes sure that
forced fast polls are not ignored anymore when adaptive polling is
enabled.
2025-05-08 17:04:23 +02:00
mathis_s 5689402375 Further clarified the error message in checkMaxSubsequentTimeouts. 0.14.3 2025-05-05 09:15:15 +02:00
mathis_s 2a7934b8d6 Fixed bug where arguments were given in the wrong order. 0.14.2 2025-05-05 08:51:34 +02:00
mathis_s 3071e402b2 Fixed bug in sinqMotor.db (bad field name) 0.14.1 2025-04-29 14:43:32 +02:00
mathis_s dd0610fd99 Added connection assertion and moved msgPrintControl to key 0.14.0 2025-04-25 15:54:41 +02:00