Ros melodic setup.bash source error
Hi GUYS!
I am using ROS melodic. I had a hard time with catkin package, specifically sourcing setup.bash. Hi GUYS, I am really struggling with setup.bash sourcing. I am using ROS melodic
I followed this tutorial: http://wiki.ros.org/ROS/Tutorials/Cre...
I got stuck in section 4, when I run
$ . ~/catkin_ws/devel/setup.bash
, it shows me:
bash: /home/z1huo/catkin_ws/devel/setup.bash: No such file or directory
That happens almost every time I tried source bash. I know how to get rid of the message in terminal using gedit. But I want to successfully source this setup.bash. Can someone help me out?
Edit: Than you!
I think I have went all the steps:
$ cd ~/catkin_ws/src
$ catkin_init_workspace
$ catkin_make
$ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
Before I typed in $ source ~/.bashrc
Then it tells me
bash: /home/z1huo/catkin_ws/devel/setup.bash: No such file or directory
First things to check:
catkin_make
)?/home/z1huo/catkin_ws
?bash
as your shell (probably yes)?