A CNN approach for controlling a roving robot