New to ROS2 and Nav2 here.
-
Currently my directory structure is like this : home>nav2_ws>src>navigation2. I need my build and install directory to be in nav2_ws. For which currently I call
colcon build --symlink-install
while in ~/nav2_ws. In ros1- catkin build, i used to call it from anywhere in the workspace (after initialisation), and it used to build it at the same location. Is there a quick way to set a single build space and install space in colcon, so that colcon build could be called from anywhere in the workspace? -
wihle using
colcon build --symlink-install
, it âinstallsâ the workspace, due to which ros2 launch uses all the launch files from the âshareâ directory (not from the src directory). Now if we change anything in the launch file (src dir) , it wonât be reflected in share directory unless we again docolcon build --symlink-install
. Is there way to simplify this? so that user doesnât have to build it again and again for changes in the launch file?
ps: I am currently reading through the colcon doc to find a solution.