Software control for a drilling mining robot