From dde6dec14572bc75082deb9d3aab3034756adc06 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Mon, 9 Sep 2019 09:29:34 +0100 Subject: [PATCH] AP_InertialSensor: correct reboot documentation for batch logger and filters --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 4 ++-- libraries/AP_InertialSensor/BatchSampler.cpp | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index 099c031950..cbab37a56f 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -258,7 +258,7 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = { // @Param: GYRO_FILTER // @DisplayName: Gyro filter cutoff frequency - // @Description: Filter cutoff frequency for gyroscopes. This can be set to a lower value to try to cope with very high vibration levels in aircraft. This option takes effect on the next reboot. A value of zero means no filtering (not recommended!) + // @Description: Filter cutoff frequency for gyroscopes. This can be set to a lower value to try to cope with very high vibration levels in aircraft. A value of zero means no filtering (not recommended!) // @Units: Hz // @Range: 0 256 // @User: Advanced @@ -266,7 +266,7 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = { // @Param: ACCEL_FILTER // @DisplayName: Accel filter cutoff frequency - // @Description: Filter cutoff frequency for accelerometers. This can be set to a lower value to try to cope with very high vibration levels in aircraft. This option takes effect on the next reboot. A value of zero means no filtering (not recommended!) + // @Description: Filter cutoff frequency for accelerometers. This can be set to a lower value to try to cope with very high vibration levels in aircraft. A value of zero means no filtering (not recommended!) // @Units: Hz // @Range: 0 256 // @User: Advanced diff --git a/libraries/AP_InertialSensor/BatchSampler.cpp b/libraries/AP_InertialSensor/BatchSampler.cpp index 6f0eed83eb..7cf331a13f 100644 --- a/libraries/AP_InertialSensor/BatchSampler.cpp +++ b/libraries/AP_InertialSensor/BatchSampler.cpp @@ -6,17 +6,19 @@ const AP_Param::GroupInfo AP_InertialSensor::BatchSampler::var_info[] = { // @Param: BAT_CNT // @DisplayName: sample count per batch - // @Description: Number of samples to take when logging streams of IMU sensor readings. Will be rounded down to a multiple of 32. + // @Description: Number of samples to take when logging streams of IMU sensor readings. Will be rounded down to a multiple of 32. This option takes effect on the next reboot. // @User: Advanced // @Increment: 32 + // @RebootRequired: True AP_GROUPINFO("BAT_CNT", 1, AP_InertialSensor::BatchSampler, _required_count, 1024), // @Param: BAT_MASK // @DisplayName: Sensor Bitmask - // @Description: Bitmap of which IMUs to log batch data for + // @Description: Bitmap of which IMUs to log batch data for. This option takes effect on the next reboot. // @User: Advanced // @Values: 0:None,1:First IMU,255:All // @Bitmask: 0:IMU1,1:IMU2,2:IMU3 + // @RebootRequired: True AP_GROUPINFO("BAT_MASK", 2, AP_InertialSensor::BatchSampler, _sensor_mask, DEFAULT_IMU_LOG_BAT_MASK), // @Param: BAT_OPT