If you’re looking for Raspberry Pi robot action 🤖, this is the right place. This is the Pi Wars at Home 2021 blog for the robot Argo.
That's It!
That’s it! You can find my other projects on GitHub, including the code for Argo itself and DashTen. goodbyes = map( lambda x: x.capitalize(), ["au revoir", "ciao", "goodbye"]) name = input("What is your name? ") def sayGoodbye(name, goodbye): return goodbye + ", " + name + "." for goodbye in goodbyes: print(sayGoodbye(name, goodbye)) print("Again, au revoir! 👋") # Output: #> What is your name? <name> #> Au revoir, <name>. #> Ciao, <name>....
Open Source
I’ve now open-sourced the main Argo project and DashTen! DashTen is the name of the speech recognition application I have been developing for iOS! Please keep in mind that I’ve cobbled these together in a hurry. They’re not entirely DRY, but I didn’t have much time for refactoring....
Object Recognition in Python
Object recognition using OpenCV in Python is easier than you think. Thanks to OpenCV’s extensive library, little first-party code is required. First you apply Gaussian blur to the image. This means that the subsequent operations will be focused more on overarching figures, rather than minute grains. Where frame is the image captured, blurred = cv2.GaussianBlur(frame, (11, 1), 0) Then you apply a mask over the image for the colour range you’re looking for....
The One-Motor Design
All designs have tradeoffs, but I think this is a pretty good one...
I Burned a Motor. 🔥🏍
So close to the competition deadline....
Up the Garden Path
A tale of performance issues, new shiny things, old hardware and patching Big Sur I sat down many moons ago and read through the challenge page for Up the Garden Path. Voice control is what screamed out at me (450 bonus points! 🙌). Thus, after some investigation of on-board recognition, I decided to offload both the recognition and the audio capture to my ancient 15-inch Macintosh Book Professional and write my first Macintosh application....
The New Design 🧱
A modular architecture with support for both tank and car modes....
Houston, We Have a Problem
The gears are worn....
Redesigning
I know its kinda a bad idea, but…...
Using a Game Controller with a Raspberry Pi
Make sure to use one that supports non-Windows OSes....