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

deal with all possibility in a test

parent 3883c7ed
No related branches found
No related tags found
No related merge requests found
...@@ -490,7 +490,7 @@ void OnLineFootTrajectoryGeneration::interpolate_feet_positions( ...@@ -490,7 +490,7 @@ void OnLineFootTrajectoryGeneration::interpolate_feet_positions(
FinalRightFootTraj_deq[CurrentIndex+k].time = Time+k*m_SamplingPeriod; FinalRightFootTraj_deq[CurrentIndex+k].time = Time+k*m_SamplingPeriod;
} }
} }
else if (CurrentSupport.Phase == DS || Time+QP_T_ > CurrentSupport.TimeLimit) else if (CurrentSupport.Phase == DS || Time+QP_T_ >= CurrentSupport.TimeLimit)
{ {
for(int k = 1; k<=(int)(QP_T_/m_SamplingPeriod);k++) for(int k = 1; k<=(int)(QP_T_/m_SamplingPeriod);k++)
{ {
......
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