A novel structure of a rigid panoramic endoscope is designed and presented. The inspected target field is imaged on the sensor by an optical lens with a dynamic mechanical module. A microgear and motor are used to drive the dynamic lens components, and a compensation element is used in the system to correct the aberrations due to the protective cylindrical endoscope cover. A long depth of field navigator lens is attached to image the front side. The design details are presented and results are shown.