According to the video, motion processors use an inertial measurement unit, which senses motion (rate, type and direction) and compensates for it. Chickens have a pretty advanced version.
It's funny, too! Link (embedded YouTube video) -Thanks, bactac!