diff --git a/src/behaviour_control/complementary_filter.cpp b/src/behaviour_control/complementary_filter.cpp index 163572d..b9f214b 100644 --- a/src/behaviour_control/complementary_filter.cpp +++ b/src/behaviour_control/complementary_filter.cpp @@ -2,6 +2,7 @@ ComplementaryFilter::ComplementaryFilter(float k){ this->K = k; + this->oldVal = 0; } float result;