From 37ba3036ddbc0afa5ba36ee74d18ca5705a3f52a Mon Sep 17 00:00:00 2001 From: Matej Petrlik Date: Tue, 17 Dec 2024 17:59:44 +0100 Subject: [PATCH] fixed reset of hdg_passthrough estimator --- src/estimators/heading/hdg_passthrough.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/estimators/heading/hdg_passthrough.cpp b/src/estimators/heading/hdg_passthrough.cpp index 2c829ef..cc8ed34 100644 --- a/src/estimators/heading/hdg_passthrough.cpp +++ b/src/estimators/heading/hdg_passthrough.cpp @@ -121,6 +121,8 @@ bool HdgPassthrough::reset(void) { } changeState(STOPPED_STATE); + // nothing to do during reset of passthrough estimator + changeState(INITIALIZED_STATE); ROS_INFO("[%s]: Estimator reset", getPrintName().c_str());