Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update whole-body-controllers in latest.releases.yaml to fix downstream usage of MomentumVelocityControl MATLAB functions #956

Merged
merged 8 commits into from
Dec 17, 2021

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Dec 16, 2021

This fixes the problem reported in robotology/whole-body-controllers#140 and fixed (on the whole-body-controllers side) on robotology/whole-body-controllers#141 .

Basically after robotology/whole-body-controllers#141 the directory <install_prefix>/mex/+wbc/simulink/MomentumVelocityControl needs to be added to the MATLAB path. Once this change is released (in 2.5.6, I guess) this PR can be merged to make sure that the directory is added to the path once one sources the setup.sh script (if the robotology-superbuild is installed from sources) or once the conda environment is activated (if the whole-body-controllers conda package is installed).

@traversaro
Copy link
Member Author

traversaro commented Dec 17, 2021

This PR is currently blocked until a new release of whole-body-controllers is done. fyi @gabrielenava @CarlottaSartore @fabiodinatale @Andrea8Testa

@gabrielenava
Copy link
Collaborator

I've created a new release https://github.com/robotology/whole-body-controllers/releases/tag/v2.5.6 which include the modifications to the path done in this PR: robotology/whole-body-controllers#141

In the near future I would like to finally reach a stable release for whole-body-controller, which will be the v3.0

@traversaro
Copy link
Member Author

I've created a new release https://github.com/robotology/whole-body-controllers/releases/tag/v2.5.6 which include the modifications to the path done in this PR: robotology/whole-body-controllers#141

In the near future I would like to finally reach a stable release for whole-body-controller, which will be the v3.0

Great, thanks! So this PR should be ready for review, I had already bumped the version in latest releases to v2.5.6.

Copy link
Collaborator

@gabrielenava gabrielenava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@@ -48,5 +48,5 @@ rem Set YARP and Gazebo related env variables
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\RRbot"
set "GAZEBO_MODEL_PATH=%GAZEBO_MODEL_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\RRbot\robots"
rem Configure the Matlab
set "MATLABPATH=%MATLABPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex\+wbc\simulink;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex\+wbc\examples;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\WBToolbox;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\WBToolbox\images"
set "MATLABPATH=%MATLABPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex\+wbc\simulink;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex\+wbc\simulink\MomentumVelocityControl;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex\+wbc\examples;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\WBToolbox;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\WBToolbox\images"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small comment: I didn't know there were examples installed in %ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex\+wbc\examples, is whole-body-controller installing them or another repo? In case it is another repo, we'll have to pay attention when refactor the installation path in WBC v3.0

@traversaro
Copy link
Member Author

The PR is ready for review @gabrielenava @CarlottaSartore @fabiodinatale @Andrea8Testa . Note that I totally imagine that you may not understand all the aspects of the PRs and the PR cannot be tested on its own, but the idea of the PRs in this context are:

  • give the opportunity to people to see small changes in the infrastructure, and the freedom to ask questions
  • catch clear typos

So feel free to approve even if you do not understand 100% of the PR. : )

@traversaro traversaro merged commit 2914364 into master Dec 17, 2021
@traversaro traversaro deleted the traversaro-patch-4 branch December 17, 2021 09:47
Copy link

@fabiodinatale fabiodinatale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! But I think that since it is already merged, I cannot approve it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants