Skip to main content

accelerometer_log

Function accelerometer_log 

Source
pub fn accelerometer_log(
    draw: &LoggerDraw,
    rate_hz: f64,
    truth: &Truth,
    seed: u64,
    index: u64,
) -> Result<Option<FlightLog>, SyntheticError>
Expand description

The log draw’s logger writes of truth, its accelerometer sampled at rate_hz on its own clock in place of the barometer’s: the same part, noise terms and streams, its noise grown with the rate’s bandwidth. None for a profile with no accelerometer.

§Errors

As log.