Designing and using robots for performing inspections in potentially explosive atmospheres