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

add an assert on a vector

parent 35cdeeb6
No related branches found
No related tags found
No related merge requests found
......@@ -431,7 +431,7 @@ int DynamicFilter::OptimalControl(
assert(PC_->IsCoherent());
int Nctrl = (int)round(controlWindowSize_/controlPeriod_) ;
outputDeltaCOMTraj_deq_.resize(Nctrl);
assert(outputDeltaCOMTraj_deq_.size()==Nctrl);
double deltaZMPx = 0.0 ;
double deltaZMPy = 0.0 ;
// computation of the preview control along the "deltaZMP_deq_"
......
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