Flight data recording with deployment at set altitude