feat/1104-add-examples #38

Merged
ismail merged 9 commits from feat/1104-add-examples into dev 2025-09-11 15:44:20 +02:00
Owner

Summary

This pull request introduces new example applications for single-channel and multi-channel relay usage, along with multiple bug fixes and enhancements to improve stability and usability of the relay channel module.
The primary goals are:

  • To provide working examples that showcase relay channel features (run limits, tilting, channel selection).
  • To fix identified issues in channel state handling, tilt operations, and STOP command behavior.
  • To improve developer usability by adding a state-to-string API function.

TICKET-1104

Changes

  • Added a single channel example with run limit and tilting features. (Closes #1105)
  • Added a multi channel example with run limit, tilting, and channel selection. (Closes #1111)
  • Added a state-to-string public API function (relay_chn_state_to_str). (Closes #1108)
  • Fixed unwanted reverse tilts by introducing a helper function. (Fixes #1109)
  • Fixed tilting opposite direction while running, preventing unintended STOPs. (Fixes #1110)
  • Fixed STOP command issuing when idle, making STOP context-aware. (Closes #1107)
  • Fixed channel validity check in tilt_stop for multi mode. (Fixes #1114)
  • Fixed a misspelled config parameter.
  • Ignored session-specific settings files to keep the repository clean.
  • #1104 - Add examples for relay channels
  • #1105 - Single channel example with run limit and tilting
  • #1107 - Fix STOP command issuing when idle
  • #1108 - Add state-to-string API function
  • #1109 - Prevent unwanted reverse tilts
  • #1110 - Fix opposite direction tilting when running
  • #1111 - Multi channel example with run limit and tilting
  • #1114 - Fix channel validity check in tilt_stop
## Summary This pull request introduces new example applications for single-channel and multi-channel relay usage, along with multiple bug fixes and enhancements to improve stability and usability of the relay channel module. The primary goals are: - To provide working examples that showcase relay channel features (run limits, tilting, channel selection). - To fix identified issues in channel state handling, tilt operations, and STOP command behavior. - To improve developer usability by adding a state-to-string API function. TICKET-1104 ## Changes - Added a **single channel example** with run limit and tilting features. (Closes #1105) - Added a **multi channel example** with run limit, tilting, and channel selection. (Closes #1111) - Added a **state-to-string public API function** (`relay_chn_state_to_str`). (Closes #1108) - Fixed unwanted **reverse tilts** by introducing a helper function. (Fixes #1109) - Fixed **tilting opposite direction while running**, preventing unintended STOPs. (Fixes #1110) - Fixed **STOP command issuing when idle**, making STOP context-aware. (Closes #1107) - Fixed **channel validity check** in `tilt_stop` for multi mode. (Fixes #1114) - Fixed a **misspelled config parameter**. - Ignored **session-specific settings files** to keep the repository clean. ## Related Issues - #1104 - Add examples for relay channels - #1105 - Single channel example with run limit and tilting - #1107 - Fix STOP command issuing when idle - #1108 - Add state-to-string API function - #1109 - Prevent unwanted reverse tilts - #1110 - Fix opposite direction tilting when running - #1111 - Multi channel example with run limit and tilting - #1114 - Fix channel validity check in tilt_stop
ismail added 9 commits 2025-09-11 15:41:21 +02:00
Fixed a mispelled configuration parameter. Refs #1105
Fixed almost unconditional STOP command issuing when the
channel is idle. Refs #1104, #1105 and closes #1107.
Added a state to string public API function. There was already
a private function (`relay_chn_state_str`) that provides
this functionality. So this function has been renamed to
`relay_chn_state_to_str` and made publicly available.

Refs #1104, #1105 and closes #1108.
Added a helper function to determine if the channel may perform
the requested tilt command. Refs #1105 and fixes #1109.
Fixed TILT_STOP command issuing chain that was causing a running channel
to be stopped when an opposite direction tilting requested. For exeample:
RUN_FORWARD > TILT_REVERSE. Refs #1105 and fixes #1110.
Added a single channel example with run limit and tilting
features. Refs #1104 and closes #1105.
Fixed mistaken channel validity check in `tilt_stop` funciton
in multi mode. Refs #1111 and fixes #1114.
Added a multi channel example with run limit, tilting and channel selection
features. Refs #1104 and closes #1111.
ismail added the Kind/BugKind/EnhancementKind/FeatureKind/Testing labels 2025-09-11 15:43:31 +02:00
ismail self-assigned this 2025-09-11 15:43:36 +02:00
ismail merged commit c718a1380f into dev 2025-09-11 15:44:20 +02:00
ismail deleted branch feat/1104-add-examples 2025-09-11 15:44:21 +02:00
Sign in to join this conversation.