From 8188606043f9187ae33fe59aaa5ef288d7a5be43 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Tue, 30 Jul 2024 18:23:01 +0200 Subject: [PATCH] Revert "Fix bug: rotor count not updating and causing seg fault" This reverts commit 11e91dec889273c90ad9e70150d713d0e6b6c138. --- .../mrs_multirotor_simulator/uav_system/multirotor_model.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp b/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp index b95b13c..c4ef9ef 100644 --- a/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp +++ b/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp @@ -374,8 +374,6 @@ void MultirotorModel::operator()(const MultirotorModel::InternalState& x, Multir void MultirotorModel::setParams(const MultirotorModel::ModelParams& params) { params_ = params; - - initializeState(); } //}