Feature Parity on arduino firmware ( c++ -> rust ) #383
zignig
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have finally achieved feature parity on my controller rewrite. It is a SPI slave driven dual motor controller running on a tank track bot.
The original c++ version
https://github.com/zignig/steves_brain/tree/main/diff_drive
The new Rust version
https://github.com/zignig/steves_brain/tree/main/newdrive
It uses an 8 byte frame command sent from an esp32 to control the drives.
The micropython driver interface
https://github.com/zignig/steves_brain/blob/main/files/minibrain.py
Still needs a lot of work but I drove it around last night and impressed the kids.
@Rahix ,thanks for the rust framework. It has been a massive help for learning embedded rust.
Beta Was this translation helpful? Give feedback.
All reactions