Skip to content

add freedom-64f python example#232

Merged
leducp merged 1 commit intoleducp:masterfrom
trns1997:freedom-k64f-python-example
Dec 10, 2025
Merged

add freedom-64f python example#232
leducp merged 1 commit intoleducp:masterfrom
trns1997:freedom-k64f-python-example

Conversation

@trns1997
Copy link
Copy Markdown
Collaborator

@trns1997 trns1997 commented Dec 10, 2025

Closes #235

Installaion

pip install kickcat

Running Freedom python example

python py_bindings/examples/freedom-k64f.py -i enp8s0

Expected output

Termial Output

Opening nominal interface:   enp8s0
Opening redundant interface: None
Initializing Bus...
Bus Init done
Slave 1001: input=12 output=3
Going to SAFE_OP
Going to OPERATIONAL
Running loop...
Accel [X: -628 Y:  -58 Z: 1930] | Mag [X: -179 Y:   66 Z:  754] | LED [R:0 G:0 B:0]
Accel [X: -641 Y:  -64 Z: 1954] | Mag [X: -182 Y:   72 Z:  766] | LED [R:0 G:0 B:0]
Accel [X: -612 Y:  -69 Z: 1911] | Mag [X: -192 Y:   69 Z:  748] | LED [R:0 G:0 B:0]
Accel [X: -627 Y:  -52 Z: 1940] | Mag [X: -179 Y:   70 Z:  755] | LED [R:0 G:0 B:0]
Accel [X: -630 Y:  -52 Z: 1951] | Mag [X: -180 Y:   71 Z:  778] | LED [R:0 G:0 B:0]
Accel [X: -629 Y:  -52 Z: 1943] | Mag [X: -175 Y:   87 Z:  749] | LED [R:0 G:0 B:0]
Accel [X: -613 Y:  -62 Z: 1924] | Mag [X: -193 Y:   81 Z:  758] | LED [R:0 G:0 B:0]
Accel [X: -617 Y:  -56 Z: 1941] | Mag [X: -177 Y:   70 Z:  742] | LED [R:0 G:0 B:0]

Visual Output (Add video to README Potentially)
output

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 10, 2025

File Coverage Lines Branches
All files 81% 82% 81%
lib/include/kickcat/Error.h 87% 92% 83%
lib/include/kickcat/SBufQueue.h 80% 98% 63%
lib/include/kickcat/CoE/mailbox/response.h 66% 33% 100%
lib/master/include/kickcat/Bus.h 71% 100% 42%
lib/master/src/Bus.cc 83% 85% 81%
lib/master/src/CoE.cc 85% 93% 77%
lib/master/src/Link.cc 98% 100% 97%
lib/master/src/Prints.cc 99% 99% 100%
lib/slave/src/AbstractESC.cc 90% 100% 81%
lib/slave/src/AbstractEmulatedEEPROM.cc 0% 0% 0%
lib/slave/src/ESMStates.cc 94% 99% 88%
lib/slave/src/ESM.cc 92% 93% 90%
lib/slave/src/PDO.cc 86% 92% 80%
lib/slave/src/EEPROM/EEPROM_factory.cc 0% 0% 100%
lib/slave/src/ESC/EmulatedESC.cc 53% 60% 46%
lib/slave/src/slave/Slave.cc 0% 0% 0%
lib/src/Frame.cc 87% 92% 82%
lib/src/Mailbox.cc 64% 71% 56%
lib/src/SIIParser.cc 93% 95% 91%
lib/src/protocol.cc 99% 98% 100%
lib/src/CoE/EsiParser.cc 90% 93% 87%
lib/src/CoE/OD.cc 99% 99% 100%
lib/src/CoE/mailbox/request.cc 82% 86% 77%
lib/src/CoE/mailbox/response.cc 40% 41% 38%

Minimum allowed coverage is 75%

Generated by 🐒 cobertura-action against 59b0f8a

@trns1997 trns1997 force-pushed the freedom-k64f-python-example branch from f172968 to 946f85d Compare December 10, 2025 07:49
@trns1997 trns1997 force-pushed the freedom-k64f-python-example branch from 597ee73 to 59b0f8a Compare December 10, 2025 08:12
@leducp leducp merged commit 047b037 into leducp:master Dec 10, 2025
11 checks passed
trns1997 added a commit to trns1997/KickCAT that referenced this pull request Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Freedom python example

2 participants