Catkin Workspace, exclude packages from building on specific platforms
Hi,
I have a problem that I have two systems were I build my robot stuff. One is a PC and the other one is a Raspberry Pie. I also have packages depending on Gazebo, but I do not want to have Gazebo on the RasPie. Can I somehow make Catkin ignore the package when building on Raspberry, with an exported environment variable for example?
Does somebody have some Ideas for that?
Thanks
Christian
Asked by cyborg-x1 on 2015-04-21 06:00:54 UTC
Answers
Maybe have 2 rosinstall files ( wiki.ros.org/rosinstall / http://docs.ros.org/independent/api/rosinstall/html/rosinstall_file_format.html ) and only install only those packages on raspberry you actually want to use there (and can compile there)....
Asked by Wolf on 2015-04-21 06:26:45 UTC
Comments
How do I use it when I want it to get the folder /nodeX from a repository like https://github.com/me/my.git to /home/cyborg-x1/ros_ws/src/
Asked by cyborg-x1 on 2015-04-21 09:09:45 UTC
git does not support checking out certain subfolders only.
Asked by Dirk Thomas on 2015-04-21 11:51:43 UTC
Comments
Have you tried to search for similar questions on this platform? E.g. http://answers.ros.org/question/54181/how-to-exclude-one-package-from-the-catkin_make-build/
Asked by Dirk Thomas on 2015-04-21 11:53:08 UTC
Yep I did but did not see that one. Thanks.
Asked by cyborg-x1 on 2015-04-21 12:23:38 UTC