Motor controller software for the ROV