File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ void Agent::Initialize(const mjModel* model) {
105105 state.Initialize (model);
106106
107107 // initialize estimator
108- if (reset_estimator) {
108+ if (reset_estimator && estimator_enabled ) {
109109 for (const auto & estimator : estimators_) {
110110 estimator->Initialize (model_);
111111 estimator->Reset ();
@@ -169,7 +169,7 @@ void Agent::Reset(const double* initial_repeated_action) {
169169 state.Reset ();
170170
171171 // estimator
172- if (reset_estimator) {
172+ if (reset_estimator && estimator_enabled ) {
173173 for (const auto & estimator : estimators_) {
174174 estimator->Reset ();
175175 }
Original file line number Diff line number Diff line change 3232namespace mjpc {
3333
3434// max filter history
35- inline constexpr int kMaxFilterHistory = 128 ;
35+ inline constexpr int kMaxFilterHistory = 64 ;
3636
3737// ----- batch estimator ----- //
3838// based on: "Physically-Consistent Sensor Fusion in Contact-Rich Behaviors"
You can’t perform that action at this time.
0 commit comments