Ask Your Question

catkin_ws in raspberry pi

asked 2017-12-07 03:28:17 -0600

Hunter gravatar image

I have installed raspbian (stretch) and ros indigo in a raspberry pi 1. I followed the document from . Different from my ROS in Ubuntu, there are a lot of files and folders in ros_catkin_ws. Now I want to create a new package in ras pi. I used the common way that I catkin_create_pkg a package in ros_catkin_ws/src. After that, however, I cannot find this package through roscd or rospack find. Also, it takes a lot of time to catkin_make the ros_catkin_ws. I think my way of using ROS on ras pi is wrong. Could anyone tell me how to solve these problems.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-12-07 04:31:48 -0600

l4ncelot gravatar image

The right way to do this is to create your own catkin package outside workspace where the whole ROS was compiled. Then you have to source your new workspace adding e.g. source ~/my_package/devel/setup.bash to your .bashrc file. If ROS still can't see your package try typing rospack profile command and it should find it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-12-07 03:28:17 -0600

Seen: 203 times

Last updated: Dec 07 '17