-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
void setReferenceFrameLink(std::string); | ||
void setReferenceToWorldFrameRotoTrans(wbi::Frame); | ||
// void setReferenceFrameLink(std::string); | ||
// void setReferenceToWorldFrameRotoTrans(wbi::Frame); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can directly remove the function, so it is easier to read the source code.
Apart for the comment that I did inline, it seems ok for me. Are the tests passing? |
@naveenoid Are you sure you want to comment everything out as opposed to deleting the code? It seems to me like an old habit due to lack of code versioning tools? |
@iron76 Sorry fra it was meant to be an immediate push for Silvio. I agree completely and will get all commented lines out. |
@traversaro ctest now works perfectly. I think the failure in my machine is related to the version of matlab Im using which explicitly needs the libstdc++ version passed to it with ld preload. It now works fine. |
@@ -4,7 +4,7 @@ | |||
%% initialise mexWholeBodyModel | |||
wbm_modelInitialise('icubGazeboSim'); | |||
|
|||
wbm_setWorldLink('l_sole',eye(3),[0 0 0]',[ 0,0,-9.81]'); | |||
%wbm_setWorldLink('l_sole',eye(3),[0 0 0]',[ 0,0,-9.81]'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the line instead of commenting it?
@naveenoid commented inline. |
addressing it now |
|
||
static wbi::iWholeBodyModel *robotWBIModel; | ||
|
||
bool fixedLinkComputation; | ||
|
||
Eigen::Matrix4d H_w2b; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused attribute. @naveenoid consider adding the -Wall option to the compiler options in the cmake when compiling in Debug, so you can get warning like this. Check here https://github.com/robotology/codyco-modules/blob/f7dfddfa4299c4e605c7b533c3fe4f04389a4f8b/cmake/modules/CoDyCoOptions.cmake#L83 how we do in codyco-modules .
ping @naveenoid |
push coming in in couple of hours today |
@traversaro almost all issues except the cmake option -Wall added. Check and merge when you are ok with it. |
Ah yes! Sorry I was wrong..correcting now asap... |
Fixed..Merge when ready. Tests all passing. |
👍 |
In this branch the new version without complexity of "set world link" will be tested. Matlab sources to be updated in subsequent commits.