added basic motor debug code and updated ppbot code