0
$\begingroup$

i want to move to the package from any directory inside our terminal window

qrie@qrie-HP-Laptop-15-rb0xx:~/dev_ws$ colcon_cd two_wheeled_robot colcon_cd: command not found

$\endgroup$
1
  • 1
    $\begingroup$ You did the setup as mentioned in the docs? $\endgroup$
    – aarsht7
    Commented Mar 11 at 9:10

1 Answer 1

0
$\begingroup$

Depending on how you installed colcon-cd, you need to source the colcon_cd.sh script before you can use the command. As an example, I installed colcon cd through apt, therefore my setup is:

apt install python3-colcon-cd
source /usr/share/colcon_cd/function/colcon_cd.sh

Following which colcon_cd works.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.