Sensor optimization for impact detection – A Bayesian approach