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

catkin configuration question

asked 2017-10-15 13:18:09 -0500

rnunziata gravatar image

updated 2017-10-15 15:09:52 -0500

I have ros kinetic installed I have projects that use rosmake I have projects that use catkin_make I have projects that use catkin build I can not longer seem to get some of them to locate executable. I had them under a single directory under different src's What is the proper structure for a system like this. Since I added PTAM to src_nstd/src it can not find executable s when using the launch file , keeps looking in src path and not devel.

My .bashrc file currently looks like this:

   source /opt/ros/kinetic/setup.bash 
   source /home/rjn/catkin_ws/src_nstd/setup.bash             # for rosmake
   source /home/rjn/catkin_ws/src_nstd/devel/setup.bash   # for catkin_make
   source /home/rjn/catkin_ws/devel/setup.bash                 # for catkin build

catkin source structure looks like:

/home/rjn/catkin_ws/src_nstd/        # for rosmake -- does not use a src
/home/rjn/catkin_ws/src_nstd/src   # for catkin_make
/home/rjn/catkin_ws/src                 # for catkin build

I moved the catkin_make stuff to its own workspace. I will do the same for rosmake.

But, Only the workspace build with catkin build a nd the kinetic installed launch files work. The ones built in catkin_make_ws exit with out giving an error. I can run them if I use rosrun which is odd but not launch file.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-15 16:31:53 -0500

rnunziata gravatar image

issue resolved .... I created three independent workspaces and sourced them and add to ros path. Looking ok.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-10-15 13:18:09 -0500

Seen: 143 times

Last updated: Oct 15 '17