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

Understand how to handle the installation of the applications for the different robots #126

Open
S-Dafarra opened this issue Mar 7, 2023 · 3 comments

Comments

@S-Dafarra
Copy link
Collaborator

Right now we install all the xml applications:

file(GLOB scripts scripts/*.xml)
yarp_install(FILES ${scripts} DESTINATION ${YARP_APPLICATIONS_INSTALL_DIR})

This ensures that the applications are always found. On the other hand, the applications are often robot dependent, and hence we are subject to cluttering.

We would need to understand how to improve this situation.

cc @GiulioRomualdi

@S-Dafarra
Copy link
Collaborator Author

S-Dafarra commented Mar 7, 2023

Right now, we are not using yarp_configure_external_installation and hence the applications are installed in robotology-superbuild/build/install/share/yarp/applications/. I would like to understand how yarpmanager finds all the applications.

@S-Dafarra
Copy link
Collaborator Author

would like to understand how yarpmanager finds all the applications.

The applications path can be set from the file ymanager.ini by setting apppath.

Still, it is not clear to me yet how the applications are found in the YARP_DATA_DIRS

@S-Dafarra
Copy link
Collaborator Author

would like to understand how yarpmanager finds all the applications.

The applications path can be set from the file ymanager.ini by setting apppath.

Still, it is not clear to me yet how the applications are found in the YARP_DATA_DIRS

Interestingly, if apppath is not set, it is filled in automatically.

This is something we might exploit. In the default case all the apps are loaded. Then, for the robot setups, we might define a ymanager.ini file with only the subfolders of interest. Interestingly, load_subfolders is set to yes by default. Hence, it might be sufficient to properly organize the app in subfolders.

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

No branches or pull requests

1 participant