ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Catkin Workspace on Raspbian Jessie

asked 2018-04-21 05:30:27 -0600

nikku gravatar image

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 "ros_catkin_ws" 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:

  1. 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?
  2. 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?
  3. 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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-04-24 05:21:35 -0600

l4ncelot gravatar image
  1. 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.

  2. 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.

  3. 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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-04-21 05:30:27 -0600

Seen: 473 times

Last updated: Apr 24 '18