determine pwms to power up motors and pwms to sustain motion while moving