Robotics StackExchange | Archived questions

Package 'my_robot' not found: "package 'my_robot' not found, searching: ['/opt/ros/humble']"

I keep getting this error when trying to run ros2 launch my_robot urdf.launch.py

I have sourced my workspace. Commands I am running:

~/projects/ros_workspace$  source install/setup.bash

~/projects/ros_workspace$ ros2 launch my_robot urdf.launch.py


Package 'my_robot' not found: "package 'my_robot' not found, searching: ['/opt/ros/humble']"

My package built successfully. I have tried sourcing both my main install and workspace. Ive tried sourcing just one. Everything I seem to do doesnt change anything. I do not understand why its only searching /opt/ros/humble.

Asked by pinkertinz on 2023-01-15 09:26:51 UTC

Comments

Answers

It seems I had an error in my package.xml that was not showing on build but just when I looked through all the logs. Is it better to use cmake vs python to get better error generation on build?

Asked by pinkertinz on 2023-01-15 09:45:16 UTC

Comments