Skip to content

Commit

Permalink
[mc_rtc_ticker] Resize the encoders based on rjo size
Browse files Browse the repository at this point in the history
Only useful if the main robot changes
  • Loading branch information
gergondet committed May 19, 2021
1 parent 7b740dc commit aa0427a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mc_rtc_ticker/src/mc_rtc_ticker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ int main()
}
auto & mbc = controller.robot().mbc();
const auto & rjo = controller.ref_joint_order();
q.resize(rjo.size());
size_t index = 0;
for(size_t i = 0; i < rjo.size(); ++i)
{
Expand Down

0 comments on commit aa0427a

Please sign in to comment.