PX4-Avoidance icon indicating copy to clipboard operation
PX4-Avoidance copied to clipboard

Resource not found: px4

Open woong137 opened this issue 2 years ago • 3 comments

First of all, I am not good at English, so please understand.

I follow this. GitHub - PX4/PX4-Avoidance: PX4 avoidance ROS node for obstacle detection and avoidance. But there is “Resource not found: PX4” How can I do?

image

On .bashrc I wrote like this. Is this the cause of the problem?

image

woong137 avatar May 15 '23 10:05 woong137

cd into your catkin_ws

. /opt/ros/noetic/setup.bash . ./devel/setup.bash

MichaelKerley avatar Jun 07 '23 20:06 MichaelKerley

source bashrc onto your terminal by doing source ~/.bashrc (dont source devel in this case)

if even that doesnt work go to devel/setup.bash and add the same lines to you added in bashrc to devel and source devel after catkin make(dont source bashrc)

aravi-2001 avatar Aug 25 '23 16:08 aravi-2001

When I followed the readme without CTRL-C-ing gazebo simulation, I re-run some commands in a non-linear fashion and ended up with the same error. Solution was removing any appendage to ~/.bashrc file and then pasting following 5-liner present within readme: image

There was not a need to add these into devel/setup.bash, yet @aravi-2001's comment helped me discover unintelligible lines I ended up creating. So, thx mate. @woong137, I believe you would not posses the problematic workspace at this point in time. Maybe it's best to close this issue.

cbugk avatar Mar 28 '24 11:03 cbugk