Skip to content

Commit

Permalink
Fix bug: rotor count not updating and causing seg fault
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Jiroušek committed Jul 30, 2024
1 parent eede2de commit 11e91de
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ void MultirotorModel::operator()(const MultirotorModel::InternalState& x, Multir
void MultirotorModel::setParams(const MultirotorModel::ModelParams& params) {

params_ = params;

initializeState();
}

//}
Expand Down

0 comments on commit 11e91de

Please sign in to comment.