PX4 / PX4-Avoidance

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

Error roslaunch local_planner local_planner_depth-camera.launch #643

Open lukebing167 opened 3 years ago

lukebing167 commented 3 years ago

Hello, When executing this step, i meet this error, drone is at the origin of coordinate but the surrounding trees and stereo cameras don't come out. I'd appreciate it if you could help me.

lukebing167 commented 3 years ago

Here is a hint for the terminal. roslaunch local_planner local_planner_depth-camera.launch

[sitl_0-4] process has died [pid 4619, exit code 255, cmd /home/lukebing/Firmware/build/px4_sitl_default/bin/px4 /home/lukebing/Firmware/build/px4_sitl_default/etc -s etc/init.d-posix/rcS -i 0 __name:=sitl_0 __log:=/home/lukebing/.ros/log/20d92666-b9c3-11eb-8171-a87eea3915bb/sitl_0-4.log].

[gazebo-6] process has died [pid 4621, exit code 255, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/lukebing/catkin_ws/src/avoidance/avoidance/sim/worlds/simple_obstacle.world name:=gazebo log:=/home/lukebing/.ros/log/20d92666-b9c3-11eb-8171-a87eea3915bb/gazebo-6.log].

eldewany commented 3 years ago

I can see that the log spits this "" [sitl_0-4] process has died [pid 4619, exit code 255, cmd /home/lukebing/Firmware/build/px4_sitl_default/bin/px4 /home/lukebing/Firmware/build/px4_sitl_default/etc -s etc/init.d-posix/rcS -i 0 __name:=sitl_0 __log:=/home/lukebing/.ros/log/20d92666-b9c3-11eb-8171-a87eea3915bb/sitl_0-4.log]. "" , maybe try to make a clean rebuild of the whole thing

lukebing167 commented 3 years ago

I can see that the log spits this "" [sitl_0-4] process has died [pid 4619, exit code 255, cmd /home/lukebing/Firmware/build/px4_sitl_default/bin/px4 /home/lukebing/Firmware/build/px4_sitl_default/etc -s etc/init.d-posix/rcS -i 0 __name:=sitl_0 __log:=/home/lukebing/.ros/log/20d92666-b9c3-11eb-8171-a87eea3915bb/sitl_0-4.log]. "" , maybe try to make a clean rebuild of the whole thing

Thank you very much for your help. I have tried it several times, but it is still the same problem. I wonder if it's the reason why the computer's graphics card isn't compatible.