mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 08:40:30 +08:00
fix(system_identification): reset _y_lpf (#29805)
SystemIdentification::reset calls _u_lpf.reset(0.f); twice. This is very likely a typo, where the intention was to call _y_lpf.reset(0.f); instead.
This commit is contained in:
1 parent
5a7f3ab512
commit
169b2bc88d
1 file changed
+1
-1
@@ -43,7 +43,7 @@ void SystemIdentification::reset(const matrix::Vector<float, 5> &id_state_init)
|
||||
{
|
||||
_rls.reset(id_state_init);
|
||||
_u_lpf.reset(0.f);
|
||||
_u_lpf.reset(0.f);
|
||||
_y_lpf.reset(0.f);
|
||||
_u_hpf = 0.f;
|
||||
_y_hpf = 0.f;
|
||||
_u_prev = 0.f;
|
||||
|
||||
Reference in new issue
Block a user