Skip to content

Package not found when trying to launch a simulator (Gazebo) #5647

@aquasphere0904

Description

@aquasphere0904

Hi,

I have built the ROS 2 workspace environment as follows:

source /opt/ros/jazzy/setup.bash
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/jsk-enshu/robot-programming.git
cd ~/ros2_ws
vcs import src < src/robot-programming/.repos.jazzy
sudo apt update
rosdep update
rosdep install --from-paths src --ignore-src -y
colcon build --symlink-install
export ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST
sudo apt install ros-jazzy-nav2-route

Then, I tried to launch the dynamics simulator (Gazebo) with the following commands,
but encountered a “Package not found” error:

source ~/ros2_ws/install/setup.bash
ros2 launch jedy_bringup jedy_gazebo.launch.py

Error message:

Package 'jedy_bringup' not found: "package 'jedy_bringup' not found, searching: ['/home/USER_NAME/ros2_ws/install/opencv_apps', '/opt/ros/jazzy']"

However, the package does exist in my workspace:

find . -name *jedy_bringup*
./src/robot-programming/jedy/jedy_bringup

find . -name jedy_gazebo.launch.py
./src/robot-programming/jedy/jedy_bringup/launch/jedy_gazebo.launch.py

Could you please tell me how to resolve this issue?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions