Close

Python / C development on RPI

A project log for PiMoCap

Turning an RPI into a MoCap Camera. Functional *and* Delicious...

bit-meddlerBit Meddler 07/04/2016 at 11:590 Comments

So, a freash install of rasbian later, and I need some bits and bobs to get working

sudo apt-get update
sudo apt-get upgrade
sudo apt-get purge wolfram-engine
sudo apt-get install htop
sudo rpi-update
sudo apt-get install libboost1.55-all

Sorry Wolfram, maybe next time. I imagine I'm going to have to strip away the GUI and a number of other services usually considered 'normal' to try and keep the CPUs free of extra load.

Anyway, my point is - I need to write my 'connected components' in C, probably parallel, probably with some hand tuned inline ASM... I'm asking a lot of a small processor. But I'm doing most of my experimentation in python. So I think it would be good to learn how to wrap a C method or library and expose it to Python.

Google suggests using Boost is by far the essayist route, so I've installed the latest version for ARM (trusting apt-get to have done the right thing :) ), and now need to find some resources online to figure out what on earth I'm doing...

Resources:

Discussions