PX4 / PX4-Avoidance

PX4 avoidance ROS node for obstacle detection and avoidance.
http://px4.io
BSD 3-Clause "New" or "Revised" License
616 stars 321 forks source link

Resource not found: px4 #699

Open woong137 opened 1 year ago

woong137 commented 1 year ago

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

MichaelKerley commented 1 year ago

cd into your catkin_ws

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

aravi-2001 commented 10 months ago

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)

cbugk commented 3 months ago

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.