Open RuteLuz opened 5 years ago
If after following the instructions for the system setup you build a package, source your environment (source ~/.bashrc) the system ca'n find your package :
$ roscd example roscd: No such package/stack 'example1'
Verify your bashrc file by typing:
gedit ~/.bashrc
If you have the following sequence of lines:
source ~/scripts/permanent.sh source /home/<username>/ros_ws/devel/setup.bash
you should delete the line source /home/<username>/ros_ws/devel/setup.bash
source /home/<username>/ros_ws/devel/setup.bash
and maintain only the following line source ~/scripts/permanent.sh
source ~/scripts/permanent.sh
If after following the instructions for the system setup you build a package, source your environment (source ~/.bashrc) the system ca'n find your package :
Verify your bashrc file by typing:
gedit ~/.bashrc
If you have the following sequence of lines:
you should delete the line
source /home/<username>/ros_ws/devel/setup.bash
and maintain only the following line
source ~/scripts/permanent.sh