cpp update

now it runs more or less smoothly. we still have to solve that problem
that the sensors jump haha ;)