Thumper code for speed, battery and multiple robots