what different between foxy installation on Ubuntu
Before some time (maybe 3 months), the install of foxy use apt to install at /opt/ros/foxy
. But recently, I found the doc replace install path to home, /home/username/ros2_foxy
(https://docs.ros.org/en/foxy/Installa...).
However, things became strange when I want to install some plugins for ros2 such as gazebo (by apt, sudo apt install ros-foxy-gazebo-ros-pkgs
), it still install at /opt/ros/foxy
. Thus, I must source two path, source /opt/ros/foxy/setup.bash
and . ~/ros2_foxy/ros2-linux/setup.bash
if I want to activate both ros2 and plugins.
So is there some way to use ros2 normally, such as installing plugins under /home/username/ros2_foxy
?