robotology / gz-sim-yarp-plugins

YARP plugins for Modern Gazebo (gz-sim).
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Align tests and examples to use URIs instead of relative paths #176

Closed xela-95 closed 3 months ago

xela-95 commented 3 months ago

Closes #175

xela-95 commented 3 months ago

Up to now I've aligned the unit tests to use URIs, by setting the GZ_SIM_RESOURCE_PATH environment variable in the CMakeLists of the unit tests to point to the test folder.

@traversaro I don't know what could be an easy solution for the tutorials, maybe we should set GZ_SIM_RESOURCE_PATH to point also to the tutorial folder when compiling this package or installing it via conda/robotology? Or should we prompt the user to set this variable before launching the tutorial?

traversaro commented 3 months ago

Or should we prompt the user to set this variable before launching the tutorial?

Yes, I think we should tell the user to add gz-sim-yarp-plugins/tutorial folder to GZ_SIM_RESOURCE_PATH in the tutorial instructions.

xela-95 commented 3 months ago

Merging 🚀