-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add repo matlab-whole-body-simulator #689
Add repo matlab-whole-body-simulator #689
Conversation
Hi @nunoguedelha, in the PR it seems that nothing is installed, and the matlab path is update to point to the source directory rather then the install folder. Even if for MATLAB project the installation phase just means copying some files, it is important to install properly the MATLAB/Simulink files that are necessary to use
|
We can discuss on teams if you prefer. |
Yes, I was still understanding what was the proper thing to do. What was bothering me was the fact that in the case of this repo, the proper installation would consist in copying almost everything to the install folder. I guess it should be almost everything except the main test model. Let's discuss on Team. |
Yes, that is basically the case with most interpreted languages. The main difference is that for example Python has its own tools to install Python-only packages ( |
After the last changes, I've tested the steps:
The new repo is cloned, as shown below:
|
Solving now some build issues with YARP_telemetry and <matio.h> include. Should be something messed up in my environment... |
The full superbuild is building now after fixing the Fixing now some minor issues for compiling the model in MATLAB (the multisheller files) ... |
Everything is working now:
|
I need to update the READMEs, otherwise it's ready for review. |
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.
The changes on the environment variables needs to be propagate also to the following files:
- All the other files in https://github.com/robotology/robotology-superbuild/tree/master/cmake/template
- The docs in https://github.com/robotology/robotology-superbuild/blob/master/doc/environment-variables-configuration.md
(That's the reason why we try to minimize the env variables that is necessary to modify/change for each project).
Sorry @traversaro , I had forgotten to commit and push my latest fixes from yesterday (13229c6). I had tested with that. But a few others are missing anyway. Fixing... |
Done in b24f8ee. |
Rework completed. |
@traversaro , I've completed the changes as per what we discussed offline. |
Can you merge devel in master of matlab-whole-body-simulator? Otherwise the CI will fail as the |
Done. Requested your review for the PR. I guess that in Ah wait, it's the same right, default branch shall be |
- Add the path to the simulator library `RobotDynamicsWithContacts` in the `startup_robotology_superbuild.m`. - Created the file `Build***` for adding the package to the superbuild. - Updated the superbuild Logic for loading the package within the "Dynamics" profile.
- Fixed the path to the simulator library `RobotDynamicsWithContacts` in the `startup_robotology_superbuild.m`. - Updated the superbuild "setup" script. - Added the multisheller "xxx_activate.msh" and "xxx_deactivate.msh" scripts for the conda package manager.
…ate/deactivate multisheller scripts
…or fixes - Updated the new repo tag in latest.releases.yaml file. - Updated the logic to build matlab-whole-body-simulator: depends on ROBOTOLOGY_USES_MATLAB.
- Further updated environment variables in the cmake/templates. - Removed transitive dependencies from the project cmake configuration. - Remove tabs from the conda activate/deactivate msh files. - Updated documentation.
This dependency can create a problem if whole-body-controllers starts depending on matlab-whole-body-simulator (see robotology/whole-body-controllers#95 (comment)). As the dependency is not required at install time, we can drop it.
… need `mex`) - This was due to moving the .slx files to `mex` in the install path: ami-iit/matlab-whole-body-simulator@e1f5aba ami-iit/matlab-whole-body-simulator@c331a7a
…set in the act/deact conda scripts
8fcb8e9
to
b8c1f55
Compare
Exactly! |
Implements #576 .
RobotDynamicsWithContacts
in thestartup_robotology_superbuild.m
.Build***
for adding the package to the superbuild.profile.
Depends on ami-iit/matlab-whole-body-simulator#36.