diff --git a/plugins/Replay/src/Replay.cpp b/plugins/Replay/src/Replay.cpp index dc2211d248..a1a9aab02d 100644 --- a/plugins/Replay/src/Replay.cpp +++ b/plugins/Replay/src/Replay.cpp @@ -45,6 +45,7 @@ void log_to_robot(const mc_rtc::log::FlatLog & log, mc_rbdyn::Robot & robot, boo robot.mbc().q[static_cast(mbcIdx)][0] = qOut[i]; } if(robot.mb().joint(0).dof() == 6) { robot.posW(get(log, "ff", robot.name(), is_main, idx)); } + else { robot.forwardKinematics(); } } template