-
Notifications
You must be signed in to change notification settings - Fork 2
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
Write tests for forcetorque plugin #20
Comments
We can also check if somebody replies here: https://discord.com/channels/1077825543698927656/1080763334384697430/1138404740905046076 with useful pointers. |
To launch gz-sim as a library, a possible example is https://github.com/gazebosim/gz-sim/tree/gz-sim7/examples/standalone/custom_server . See also the test for the FT system in gazebo itself: https://github.com/gazebosim/gz-sim/blob/gz-sim7/test/integration/force_torque_system.cc#L48 . |
I found some related material: https://gazebosim.org/api/sim/7/test_fixture.html and https://github.com/gazebosim/gz-sim/tree/gz-sim7/examples/standalone/gtest_setup . In particular the example shows also how to integrate with googletest, so probably it is a good starting point! |
@traversaro |
Nice start! The test is passing fine on your machines? Can you open a PR so that we can see if the test is passing fine also in the CI? Probably a possible improvement is not directly read the port, but read it through the |
Example for gazebo-classic: https://github.com/robotology/gazebo-yarp-plugins/tree/master/tests .
In general, we need to understand if we want to launch gz-sim as a library, or as an executable .
The text was updated successfully, but these errors were encountered: