Skip to content
Snippets Groups Projects
Commit 98207eba authored by Pierre-Alexandre Leziart's avatar Pierre-Alexandre Leziart
Browse files

Fix gait initialization by filling past gait matrix with starting gait

parent 08e32ccf
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ void Gait::initialize(Params& params) {
// Fill currrent gait matrix
currentGait_ = desiredGait_;
pastGait_ = desiredGait_.colwise().reverse();
}
void Gait::create_walk() {
......
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