Skip to content
Snippets Groups Projects
Commit c2b58d6c authored by mnaveau's avatar mnaveau
Browse files

modify the intialisation of the dynamic filter in Herdt2010

parent 831c15bf
No related branches found
No related tags found
No related merge requests found
......@@ -434,17 +434,8 @@ int
InitStateOrientPrw_ = OrientPrw_->CurrentTrunkState() ;
FinalCurrentStateOrientPrw_ = OrientPrw_->CurrentTrunkState() ;
FootAbsolutePosition supportFoot ;
if (InitLeftFootAbsolutePosition.stepType<0)
{
supportFoot = InitLeftFootAbsolutePosition ;
}else
{
supportFoot = InitRightFootAbsolutePosition ;
}
dynamicFilter_->init(0.0,m_SamplingPeriod,InterpolationPeriod_,
QP_T_,QP_N_*QP_T_,CoMHeight_,supportFoot);
QP_T_,QP_N_*QP_T_,CoMHeight_,InitLeftFootAbsolutePosition);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment