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

Add basic pixi support and add basic smoke test of wholebodydynamics device #177

Merged
merged 6 commits into from
Mar 4, 2024

Conversation

traversaro
Copy link
Member

I wanted to work on #170 and #176, but it was tricky to do so without any even basic test of the functionality of wholebodydynamics device.

To solve the problem, I added basic support for building the project with pixi, and then I added a basic test that just loads the wholebodydynamics device file for ergoCubSN001 with fake devices.

The setup at the moment is a bit complex, as I need to compile YARP (and hence icub-main and ergocub-software) as otherwise the fakeIMU device in YARP 3.9 does not support specifying the frameName. Furthermore, I had to manually add a fakeFTs device to simulate a device that exposes multiple FTs sensors with temperature sensors. Once YARP 3.10 is released, the setup can be simplified to use YARP (and ICUB and ergocub-software) binaries.

@traversaro
Copy link
Member Author

As currently building the test requires yarp master, I disable the test in CI so we can continue to use the yarp binaries there.

@traversaro
Copy link
Member Author

traversaro commented Mar 2, 2024

As currently building the test requires yarp master, I disable the test in CI so we can continue to use the yarp binaries there.

Anyhow, I added a separate pixi-ci, so conda-ci checks compilation against YARP 3.9 (or in general the latest binary release available), and pixi-ci uses instead YARP master. We can revisit this in the future.

Copy link
Collaborator

@S-Dafarra S-Dafarra left a comment

Choose a reason for hiding this comment

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

Nice! Only minor comments

README.md Outdated Show resolved Hide resolved
cmake/WBEAddUnitTest.cmake Outdated Show resolved Hide resolved
devices/wholeBodyDynamics/test/CMakeLists.txt Outdated Show resolved Hide resolved
set_install_prefix.sh Outdated Show resolved Hide resolved
devices/wholeBodyDynamics/test/ergocub_test_all.xml Outdated Show resolved Hide resolved
devices/wholeBodyDynamics/test/fakeFTs/CMakeLists.txt Outdated Show resolved Hide resolved
Co-authored-by: Stefano Dafarra <stefano.dafarra@gmail.com>
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.

2 participants