@@ -417,9 +417,6 @@ class LegStepper
417417 // / @param[in] at_correct_phase The new value for the flag
418418 inline void setAtCorrectPhase (const bool & at_correct_phase) { at_correct_phase_ = at_correct_phase; };
419419
420- // / TBD
421- inline void setNewStepFrequency (void ) { new_step_frequency_ = true ; };
422-
423420 // / Modifier for the flag denoting touchdown detection enabled.
424421 // / @param[in] touchdown_detection The new value for the flag
425422 inline void setTouchdownDetection (const bool & touchdown_detection) { touchdown_detection_ = touchdown_detection; };
@@ -489,10 +486,9 @@ class LegStepper
489486 int phase_ = 0 ; // /< Step cycle phase
490487 int phase_offset_; // /< Step cycle phase offset
491488
492- bool new_step_frequency_ = false ;
493- double step_progress_ = 0.0 ;
494- double swing_progress_ = -1.0 ; // /< The progress of the swing period in the step cycle. (0.0->1.0 || -1.0)
495- double stance_progress_ = -1.0 ; // /< The progress of the stance period in the step cycle. (0.0->1.0 || -1.0)
489+ double step_progress_ = 0.0 ; // /< The progress of the entire step cycle (0.0->1.0 || -1.0)
490+ double swing_progress_ = -1.0 ; // /< The progress of the swing period in the step cycle. (0.0->1.0 || -1.0)
491+ double stance_progress_ = -1.0 ; // /< The progress of the stance period in the step cycle. (0.0->1.0 || -1.0)
496492
497493 StepState step_state_ = STANCE; // /< The state of the step cycle
498494
@@ -529,4 +525,4 @@ class LegStepper
529525
530526// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
531527
532- #endif // SYROPOD_HIGHLEVEL_CONTROLLER_WALK_CONTROLLER_H
528+ #endif // SYROPOD_HIGHLEVEL_CONTROLLER_WALK_CONTROLLER_H
0 commit comments