Skip to content

Commit

Permalink
[Replay] Always forward kinematics after updating the output
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Jul 24, 2023
1 parent 94c4d8f commit e9626f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/Replay/src/Replay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void log_to_robot(const mc_rtc::log::FlatLog & log, mc_rbdyn::Robot & robot, boo
robot.mbc().q[static_cast<size_t>(mbcIdx)][0] = qOut[i];
}
if(robot.mb().joint(0).dof() == 6) { robot.posW(get<sva::PTransformd>(log, "ff", robot.name(), is_main, idx)); }
else { robot.forwardKinematics(); }
}

template<typename CppT>
Expand Down

0 comments on commit e9626f4

Please sign in to comment.