Skip to content

The getIsStancePhase logic on devel is broken #66

@S-Dafarra

Description

@S-Dafarra

We noticed that while testing #65, the robot was not able to walk anymore. When substituting https://github.com/robotology/walking-controllers/blob/2d0a4a5e0c851b05c001b15b17abadf2aea257fe/src/WalkingModule/src/Module.cpp#L667 with

double threshold = 0.001;
bool stancePhase = iDynTree::toEigen(m_DCMVelocityDesired.front()).norm() < threshold;
m_walkingZMPController->setPhase(stancePhase);

we managed to restore the expected performances.
cc @GiulioRomualdi

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions