-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Dev/ros1 ros2 snap #698
Dev/ros1 ros2 snap #698
Conversation
Move in dedicated directory and check if target already exist befire including the targets.cmake
Move install rules at the end Export targets and cmake config but only when not compilling with ROS
Build zmq, PJ, ROS 1 and ROS 2 plugin. Disable ROS 2 shared memory for strictly confined snap. Add :desktop and .svg file for launcher
Publish on "candidate" when tag and edge when commit on the main branch
I am very excited about this contribution. Give me some time to review it. |
I would like to add some information in the readme. How does a user install either ROS1 or ROS2 version? |
Something is not working correctly...
|
The application
By default, the application launched by the snap bundle both version. Hence, only selecting the correct version on the |
Is this happening from the |
Hello,
Since the PlotJuggler snap is fairly popular, we thought about refreshing it.
These changes were done with the help of @artivis.
Goal
This PR goal is to be able to build and distribute PlotJuggler as a snap (bundling ROS & ROS 2 plugin).
There is already a PlotJuggler snap but with the PR, the GitHub Workflow will help the distributed snap to be in sync with the development.
What are the changes
CMakeLists
:Config.cmake.in
has been moved to a dedicatedcmake/
directoryCMakeLists.txt
install rules have been moved to the end of the fileTargets.cmake
andConfig.cmake
are only installed when not compiled withcatkin
orcolcon
PJ_CMAKECONFIG_INSTALL_DIR
has been made relativesnapcraft.yaml
:zmq
to be able to find it withcmake
(the one available with apt cannot be found with afind_package
)/dev/shm
workflow
was added to build and publish the snap from the CImain
branchcandidate
channel on tagged commit,edge
otherwise.stable
channel after proper testingSTORE_LOGIN
must be defined (more details at the end)Limitations
Since there is a lot of changes on the
CMakeLists.txt
I assume there could be some changes needed. Also, the GitHub Workflow publishing rules might need some adjustment.How to set the STORE_LOGIN secret
snapcraft login
with the login used for the PlotJuggler snapstore pagesnapcraft export-login --snaps=plotjuggler --acls package_access,package_push,package_update,package_release exported.txt
STORE_LOGIN
, and pasting the contents of exported.txt as the value.