Catkin Workspace on Raspbian Jessie
Hello everyone, Until now I was working solely with ROS Indigo on Ubuntu (14.04).
Now, I have installed ROS Kinetic on my RPi, which is running Raspbian Jessie.
Installing ROS Kinetic worked (I followed the official tutorial on the ROS page), but I was confused about the fact that I had to create a catkin workspace called "roscatkinws" already for the installation of ROS. Usually, the catkin_ws was only there for my own packages or packages, which I had downloaded additionally.
My questions:
- How do I work with this setup? Where should I create (or download) packages to work on (I am concerned that I will affect the core installation of ROS). Do I have to create a new catkin_workspace where I can work as I know it from Indigo/Ubuntu?
- Now, that there already exists a catkin workspace. How do I know how the packages are built. Mainly, I would like to use catkin build instead of catkin make. So what would I have to do for this?
- Lets' assume I have built my self-written packages but there seems to be an error. If I want to clean the catkin workspace, how should I do this without affecting the core ROS setup?
Thanks for any help!
Best regards
Asked by nikku on 2018-04-21 05:30:27 UTC
Answers
You should create new workspace for your own projects while putting official ros packages in the ros_catkin_ws. It's not necessary but it's better considering you will recompile your own packages a lot and you don't want to recompile the official ones as well with it. Then just source your newly created workspace.
If you would like to build some packages from source you can do it the same way as on regular ubuntu machine. Create workspace, initialize it, clone the package, build it and source it. If you follow the tutorial on source installation on rpi you should already have
catkin build tools
installed.Again, if your package is in separated workspace just clean the workspace. It won't affect the ROS installation since it's in another workspace.
Asked by l4ncelot on 2018-04-24 05:21:35 UTC
Comments