how could I avoid source /home/valeria/catkin_ws/devel/setup.bash every time I do catkin_make?

asked 2021-12-23 14:02:51 -0500

v.leto gravatar image

updated 2021-12-27 14:50:10 -0500

I have to type

source /home/valeria/catkin_ws/devel/setup.bash

every time I do catkin_make. How can I fix it? thanks

edit retag flag offensive close merge delete

Comments

You should not have to. What happens if you don't?

Geoff gravatar image Geoff  ( 2021-12-23 17:10:02 -0500 )edit

Hi! it doesn't run nodes

v.leto gravatar image v.leto  ( 2021-12-26 06:33:20 -0500 )edit

Hi @v.leto, would it be possible to share your ~/.bashrc file

gedit ~/.bashrc

osilva gravatar image osilva  ( 2021-12-27 11:44:41 -0500 )edit

I've added this line

source /opt/ros/melodic/setup.bash

v.leto gravatar image v.leto  ( 2021-12-27 14:51:06 -0500 )edit

what I meant is that I have only this line. Ican't copy paste the whole file here, it is not allowed

v.leto gravatar image v.leto  ( 2021-12-28 07:34:08 -0500 )edit

Can you print the output of echo $ROS_PACKAGE_PATH please

osilva gravatar image osilva  ( 2021-12-28 08:20:40 -0500 )edit

/home/valeria/catkin_ws/src:/opt/ros/melodic/share

v.leto gravatar image v.leto  ( 2021-12-28 09:10:41 -0500 )edit

Hi @v.leto, try adding source /home/valeria/catkin_ws/devel/setup.bash to your ~/.bashrc

osilva gravatar image osilva  ( 2021-12-28 09:18:05 -0500 )edit