juanmf / StepperMotors

Python stepper motor library with customizable acceleration strategies and responsive, interruptible motor operations.
https://github.com/juanmf/StepperMotors
MIT License
19 stars 0 forks source link

Job Chain does not work with StaticNavigation #6

Closed juanmf closed 8 months ago

juanmf commented 8 months ago

A client that is also a BlockingQueueWorker that has two motorsDrivers on StaticNavigation fails to start a job Chain, at the client BlockingQueueWorker when it has to block on both Drivers' jobs before continuing with its own job chain. Each link in the chain starts jobs for downstream Drivers. At some point upstream BlockingQueueWorker and downstream MotorDrivers (also BlockingQueueWorker) when using static nav fails.

Sounds like Corner case since Chains are designed for non-blocking situations like DynamicNavigation, but shouldn't fail.

juanmf commented 8 months ago

Finally fixed it in a decent way. c8d7b31