Sourcing setup.bash in ROS2 foxy
Hi all. After installing ROS2 foxy in Ubuntu 20.04 from "fat' archive (binaries), when I try to source /opt/ros/foxy/setup.bash
, ros2 is not recognized:
$ source /opt/ros/foxy/setup.bash
$ ros2
ros2: command not found
However, I can source /ros2_foxy/ros2-linux/setup.bash
:
$ source ~/ros2_foxy/ros2-linux/setup.bash
$ ros2
usage: ros2 [-h] Call `ros2 <command> -h` for more detailed usage. ...
Is there any issues with my configuration? Or is foxy intended to be sourced only from ~/ros2_foxy/ros2-linux/setup.bash
?