Please add a description and delete options that are not relevant.
Add the watchdog timeout parameter to the start_pdos method.
Add the watchdog timeout parameter to the create_poller method.
Tests
[x] Run tests.
Test:
Connect to an EtherCAT drive.
Create a PDO thread with a given watchdog timeout.
Check that the watchdog timeout is applied.
Documentation
Please update the documentation.
[x] Update docstrings of every function, method or class that change.
[x] USe type hints for every function and argument.
[x] Add the changes at the [Unreleased] section of the CHANGELOG.
Code formatting
[x] Use black package to format the code: black -l 100 ingeniamotion tests. It is recommended to configure the code editor to automatically format the code using black with a max length line of 100.
Description
Add optional watchdog timeout argument
Fixes # INGM-426
Type of change
Please add a description and delete options that are not relevant.
Tests
Test:
Documentation
Please update the documentation.
[Unreleased]
section of the CHANGELOG.Code formatting
black -l 100 ingeniamotion tests
. It is recommended to configure the code editor to automatically format the code using black with a max length line of 100.