Skip to content

Commit 578f87d

Browse files
Advance the m_isStancePhase variable in the WalkingModule
1 parent aa03967 commit 578f87d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/WalkingModule/src/Module.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ bool WalkingModule::advanceReferenceSignals()
8484
m_comHeightVelocity.pop_front();
8585
m_comHeightVelocity.push_back(m_comHeightVelocity.back());
8686

87+
m_isStancePhase.pop_front();
88+
m_isStancePhase.push_back(m_isStancePhase.back());
89+
8790
// at each sampling time the merge points are decreased by one.
8891
// If the first merge point is equal to 0 it will be dropped.
8992
// A new trajectory will be merged at the first merge point or if the deque is empty

0 commit comments

Comments
 (0)