Robotics StackExchange | Archived questions

package build but not found

1.Working on ROS2/iron on Ubuntu 1. Everything worked fine for a period with the package, then without explanation mypypkg not found even though it build 2. I sources the environment 3. the terminal: vboxuser@Ubuntu:~/ros2ws$ source ~/.bashrc vboxuser@Ubuntu:~/ros2ws$ colcon build --packages-select mypypkg Starting >>> mypypkg Finished <<< mypypkg [0.92s]
Summary: 1 package finished [1.30s] vboxuser@Ubuntu:~/ros2ws$ ros2 run mypypkg nodekiller Package 'mypypkg' not found

how to fix the issue

Asked by Shai007 on 2023-06-27 11:49:50 UTC

Comments

Answers

First of all: Please format your question with some spaces and new lines. It's really hard to read.

Second: Why are you sourcing your bashrc? Source your ros2_ws/install/setup.bash and then try running again!

Asked by autowareX on 2023-06-29 08:58:04 UTC

Comments