Skip to content

Commit

Permalink
Advance the m_isStancePhase variable in the WalkingModule
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Sep 18, 2020
1 parent aa03967 commit 578f87d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WalkingModule/src/Module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ bool WalkingModule::advanceReferenceSignals()
m_comHeightVelocity.pop_front();
m_comHeightVelocity.push_back(m_comHeightVelocity.back());

m_isStancePhase.pop_front();
m_isStancePhase.push_back(m_isStancePhase.back());

// at each sampling time the merge points are decreased by one.
// If the first merge point is equal to 0 it will be dropped.
// A new trajectory will be merged at the first merge point or if the deque is empty
Expand Down

0 comments on commit 578f87d

Please sign in to comment.