Dissecting the rainbow

March 5, 2018

If you’re entering this year’s PiWars competition you might have encountered some example code, originally from PiBorg, intended to get you going with the ‘Over the Rainbow’ challenge. If you’re not familiar with OpenCV, however, you might find this code a bit baffling. So, in this post I’m going to go line-by-line through the image […]

Control your Python!

July 30, 2017

If you’re building a robot for PiWars, or similar competitions, you’ll probably want to have some way to drive it manually – the most popular way to do this is to connect a game controller (hardware originally intended for game consoles such as the PlayStation or XBox). The approxeng.input library, available through Pip and compatible […]

Running Python as a Linux Service

April 28, 2017

This is a rather long post going into the detail of making a Linux service with Python. It’s long, but hopefully because it contains enough detail to be helpful! Let me know on Twitter in the usual place if it’s helped… Aims This post is going to cover how to get a Linux computer to […]

PiWars 2017

April 13, 2017

PiWars2017 was a blast, although my entry this year, Viridia, was plagued with electrical issues she still won the award for technical merit, and the camera based line following actually worked. I also got to help out with the fantastic school teams on the Saturday and meet up with everyone I’ve known from previous events. […]