Using unmanned aerial vehicles for autonomous inspections of industrial environments in general, and cargo holds and tanks in particular, is a goal that has become within reach the last couple of years, though a lot of development still remains. A problem when developing for inspection of cargo holds is the lack of real world testing opportunities, slowing down development. In this thesis a simulation framework has been developed to speed up the development of autonomous inspection. Furthermore, navigation tools needed for autonomous flight has been implemented and tested within the framework. The simulation framework uses the Gazebo simulator and the Robot Operating System environment to create a framework which focuses on clean interfaces...