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

Revision history [back]

click to hide/show revision 1
initial version

The directory /opt/ros/foxy comes from installing Foxy from Debian packages. If, instead, you installed Foxy from the fat archive, then sourcing the setup.bash file from the extracted location is all you should have to do. I.e. you don't have to source /opt/ros/foxy/setup.bash, instead source ~/ros2_foxy/ros2-linux/setup.bash is equivalent.