mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AC_CustomControl: add documentation for PID notches and D feed-foward
add advanced flag to PIDs and selectively compile advanced PID options
This commit is contained in:
committed by
Andrew Tridgell
parent
c4dc6f6471
commit
952baf860c
@@ -184,4 +184,13 @@ void AC_CustomControl::log_switch(void) {
|
||||
_custom_controller_active);
|
||||
}
|
||||
|
||||
void AC_CustomControl::set_notch_sample_rate(float sample_rate)
|
||||
{
|
||||
#if AC_PID_ADVANCED_ENABLED
|
||||
if (_backend != nullptr) {
|
||||
_backend->set_notch_sample_rate(sample_rate);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user