mc_pos_control: new velocity low pass and notch filter (optional, disabled by default)

- MPC_VEL_LP: new velocity first order low pass filter (off by default)
 - MPC_VEL_NF_FRQ/MPC_VEL_NF_BW: new velocity notch filter (off by default)
 - MPC_VELD_LP: existing velocity derivative low pass filter, but I've dropped the remaining controllib usage
This commit is contained in:
Daniel Agar
2024-06-18 11:47:19 -04:00
committed by GitHub
parent ac13fb77a9
commit 8b9900cce3
4 changed files with 141 additions and 32 deletions
+5
View File
@@ -290,6 +290,11 @@ inline bool isFinite(const float &value)
return PX4_ISFINITE(value);
}
inline bool isFinite(const matrix::Vector2f &value)
{
return value.isAllFinite();
}
inline bool isFinite(const matrix::Vector3f &value)
{
return value.isAllFinite();