-
Notifications
You must be signed in to change notification settings - Fork 4
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
Port basestate plugin functionality from gazebo-yarp-plugins #59
Comments
As this plugin share the same structure of the forcetorque one, probably we can copy the forcetorque directory in basestate, and then modify the plugin to get the same functionality of https://github.com/robotology/gazebo-yarp-plugins/tree/master/plugins/basestate by copying the code in there. |
The |
@traversaro I am progressing with the porting of the plugin, but up to now I have encountered an issue: my code builds (both manually configuring and building from terminal and using the vscode cmake tools extension). But when I try to install I get the following error:
Probably I'm missing something stupid but I cannot figure out what it is 🙃 |
Another question: in order to ask code reviews about the work I'm doing, should I open a PR in draft mode (even if the code is not completed)? |
Ok the problem is solved by configuring the project (as written in the README) with:
Then running:
runs fine. I'm a bit new with cmake, so as I can understand the problem was due to the fact that by default ninja tries to install the executables into the |
I will try to configure my vscode settings those arguments so that I can continue to use the build command from vscode. |
Done! Documentation:
I added to the `.vscode/settings.json' file the following lines: "cmake.configureArgs": [
"-DCMAKE_INSTALL_PREFIX=${env:CONDA_PREFIX}",
"-DCMAKE_PREFIX_PATH=${env:CONDA_PREFIX}"
],
"cmake.generator": "Ninja" and now the configuration phase is the same as the one in the README and the install steps works also from inside vscode (I do it by opening the command palette with |
Yes! |
Some documentation to understand messaging in Gazebo sim:
Interesting page aboud ECM: |
Plugin: https://github.com/robotology/gazebo-yarp-plugins/tree/master/plugins/basestate
Docs: https://github.com/robotology/gazebo-yarp-plugins/blob/c89280295d53279049bb7521cf6b6b3400130f23/plugins/basestate/include/yarp/dev/BaseStateDriver.h#L44
Examples (not accessible to everyone): https://github.com/ami-iit/component_ironcub/blob/a7117b65ccc4adc43f5991098d89e2266dff4870/models/iRonCub-Mk3/iRonCub/robots/iRonCub-Mk3_Gazebo/model_with-legs-fts.urdf#L1524
The text was updated successfully, but these errors were encountered: