Echo $ROS_PACKAGE_PATH output on local PC is different than the Academy

Hi!
I am trying to create my ROS workspace in my local machine but I am having troubles with the very last step.
When I type echo $ROS_PACKAGE_PATH in the shell (after sourcing it), I get the following: /home/myusername/mynew_ws/src:/opt/ros/noetic/share instead of what is indicated in the notebook (/home/user/mynew_ws/src:/home/user/catkin_ws/src:/home/simulations/public_sim_ws/src:/opt/ros/noetic/share).

Any idea what this implies and where the error is?

Hello @brunoCC ,

That’s OK, there’s no error there. /opt/ros/noetic/share is the default ROS Noetic installation and /home/myusername/mynew_ws/src is the workspace you created. As long as you don’t create/source more workspaces, that’s the output you should expect.

2 Likes