diff --git a/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp b/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp index c4ef9ef..b95b13c 100644 --- a/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp +++ b/include/mrs_multirotor_simulator/uav_system/multirotor_model.hpp @@ -374,6 +374,8 @@ void MultirotorModel::operator()(const MultirotorModel::InternalState& x, Multir void MultirotorModel::setParams(const MultirotorModel::ModelParams& params) { params_ = params; + + initializeState(); } //}