Two examples are added: change_node_id and change_baudrate
In addition, get_baudate is implemeted too.
Fixes INGM-406
Type of change
[x] Example for change a node ID for CANopen communications
[x] Example for change a baudrate for CANopen communications
[x] get_baudrate function is implemented.
Tests
[x] Test when change node ID is success
[x] Test when change node ID is failed
[x] Test when change baudrate is success
[x] Test when change baudrate is failed
Documentation
Please update the documentation.
[x] Use type hints for every function and argument.
[x] Build documentation locally to verify changes.
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.
Examples for changing the node ID and baudrate
Description
Two examples are added: change_node_id and change_baudrate In addition, get_baudate is implemeted too.
Fixes INGM-406
Type of change
Tests
Documentation
Please update the documentation.
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.