I made a camera trigger that always takes a picture mid shock.