Skip to content

Commit

Permalink
AP_InertialSensor
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Nov 21, 2024
1 parent eb60f6f commit 559d495
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,6 @@ void AP_InertialSensor_Invensensev3::start()
return;
}

// update backend sample rate
_set_accel_raw_sample_rate(accel_instance, sampling_rate_hz);
_set_gyro_raw_sample_rate(gyro_instance, sampling_rate_hz);

// indicate what multiplier is appropriate for the sensors'
// readings to fit them into an int16_t:
_set_raw_sample_accel_multiplier(accel_instance, multiplier_accel);
Expand Down Expand Up @@ -381,7 +377,7 @@ void AP_InertialSensor_Invensensev3::start()

// get a startup banner to output to the GCS
bool AP_InertialSensor_Invensensev3::get_output_banner(char* banner, uint8_t banner_len) {
snprintf(banner, banner_len, "IMU%u:%s%s sampling LR:%.1fkHz SR:%.1fkHz",
snprintf(banner, banner_len, "IMU%u:%s%s sampling BR:%.1fkHz SR:%.1fkHz",
gyro_instance,
fast_sampling ? " fast" : " normal",
#if HAL_INS_HIGHRES_SAMPLE
Expand Down

0 comments on commit 559d495

Please sign in to comment.