AP_GyroFFT: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
2e75425a2a
commit
98a8e6e370
@ -841,7 +841,7 @@ void AP_GyroFFT::write_log_messages()
|
||||
// @Field: EnZ: power spectral density bin energy of the peak on roll
|
||||
|
||||
// write a single log message
|
||||
void AP_GyroFFT::log_noise_peak(uint8_t id, FrequencyPeak peak, float notch)
|
||||
void AP_GyroFFT::log_noise_peak(uint8_t id, FrequencyPeak peak, float notch) const
|
||||
{
|
||||
AP::logger().Write("FTN2", "TimeUS,Id,PkX,PkY,PkZ,DnF,BwX,BwY,BwZ,EnX,EnY,EnZ", "s#zzzzzzz---", "F-----------", "QBffffffffff",
|
||||
AP_HAL::micros64(),
|
||||
|
@ -176,7 +176,7 @@ private:
|
||||
return (_thread_state._center_bandwidth_hz_filtered[peak][axis] = _center_bandwidth_filter[peak].apply(axis, value));
|
||||
}
|
||||
// write single log mesages
|
||||
void log_noise_peak(uint8_t id, FrequencyPeak peak, float notch_freq);
|
||||
void log_noise_peak(uint8_t id, FrequencyPeak peak, float notch_freq) const;
|
||||
// calculate the peak noise frequency
|
||||
void calculate_noise(bool calibrating, const EngineConfig& config);
|
||||
// calculate noise peaks based on energy and history
|
||||
|
Loading…
Reference in New Issue
Block a user