diff --git a/docs/assets/control-loop.png b/docs/assets/control-loop.png index 138de3e5..3673b671 100644 Binary files a/docs/assets/control-loop.png and b/docs/assets/control-loop.png differ diff --git a/docs/drawio/control-loop.drawio b/docs/drawio/control-loop.drawio index 9b7349fe..4bc3c8c5 100644 --- a/docs/drawio/control-loop.drawio +++ b/docs/drawio/control-loop.drawio @@ -1,82 +1,108 @@ - + - + - + - + - + - + - - + + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -86,45 +112,29 @@ - + - + - + - + - + + + + - - - - - - - - - - - - - - - - - - - diff --git a/docs/threading.md b/docs/threading.md index 22dfe6dc..022d9c74 100644 --- a/docs/threading.md +++ b/docs/threading.md @@ -20,11 +20,9 @@ Starts threads for testing different interfaces in parallel. Uses Smol `LocalExecutor`. -### `EthercatLoopThread` from `server::ethercat::init::init_ethercat` +### `LoopThread` from `server::ethercat::init::init_ethercat` Uses thread-local `smol` runtime. -Starts the Ethercrab TX/RX thread. - Runs the main control loop. Used `send_panic` to exit program if this thread panics.