Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

SetWorldLink removed #52

Merged
merged 6 commits into from
Nov 3, 2015
Merged

SetWorldLink removed #52

merged 6 commits into from
Nov 3, 2015

Conversation

naveenoid
Copy link
Contributor

In this branch the new version without complexity of "set world link" will be tested. Matlab sources to be updated in subsequent commits.

void setReferenceFrameLink(std::string);
void setReferenceToWorldFrameRotoTrans(wbi::Frame);
// void setReferenceFrameLink(std::string);
// void setReferenceToWorldFrameRotoTrans(wbi::Frame);
Copy link
Contributor

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.

@traversaro
Copy link
Contributor

Apart for the comment that I did inline, it seems ok for me. Are the tests passing?

@iron76
Copy link
Contributor

iron76 commented Oct 28, 2015

@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?

@naveenoid
Copy link
Contributor Author

@iron76 Sorry fra it was meant to be an immediate push for Silvio. I agree completely and will get all commented lines out.
@traversaro tests - lets discuss quickly before I push my next commit including matlab

@naveenoid
Copy link
Contributor Author

@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]');
Copy link
Contributor

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?

@traversaro
Copy link
Contributor

@naveenoid
Copy link
Contributor Author

addressing it now


static wbi::iWholeBodyModel *robotWBIModel;

bool fixedLinkComputation;

Eigen::Matrix4d H_w2b;
Copy link
Contributor

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 .

@traversaro
Copy link
Contributor

ping @naveenoid

@naveenoid
Copy link
Contributor Author

push coming in in couple of hours today

@naveenoid
Copy link
Contributor Author

@traversaro almost all issues except the cmake option -Wall added. Check and merge when you are ok with it.

@naveenoid
Copy link
Contributor Author

Ah yes! Sorry I was wrong..correcting now asap...

@naveenoid
Copy link
Contributor Author

Fixed..Merge when ready. Tests all passing.

@traversaro
Copy link
Contributor

👍

traversaro added a commit that referenced this pull request Nov 3, 2015
@traversaro traversaro merged commit a5afb78 into master Nov 3, 2015
@traversaro traversaro deleted the remove_set_world_link branch March 10, 2016 15:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants