A cargo power drive unit includes a motor and at least one drive roller
element coupled to the motor. The power drive unit further includes a
light transmitter for emitting light and a light receiver for measuring
light. The power drive unit measures an amount of ambient light and then
measures an amount of total light after the light transmitter emits
light. The power drive unit then determines whether a cargo container is
present based on a calculation of reflected light and the measurement of
ambient light.