HKUST-Aerial-Robotics / FUEL

An Efficient Framework for Fast UAV Exploration
GNU General Public License v3.0
950 stars 200 forks source link

[traj_server] process has died #60

Open xxyLA opened 1 year ago

xxyLA commented 1 year ago

To run the example roslaunch exploration_manager exploration.launch and rviz.launch, when click 2D Nav, the following appears: open set empty, no path! use node num: 1 iter num: 1 [ERROR] [1689855633.519350713]: search 1 fail and then Stack trace (most recent call last):

14 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in

13 Object "/home/x/WS/devel/lib/plan_manage/traj_server", at 0x55e7d1559c09, in _start

12 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f478a7ecc86, in __libc_start_main

11 Object "/home/x/WS/devel/lib/plan_manage/traj_server", at 0x55e7d15591cb, in main

10 Object "/opt/ros/melodic/lib/libroscpp.so", at 0x7f478be9e37a, in ros::spin()

9 Object "/opt/ros/melodic/lib/libroscpp.so", at 0x7f478beb5a38, in ros::SingleThreadedSpinner::spin(ros::CallbackQueue*)

8 Object "/opt/ros/melodic/lib/libroscpp.so", at 0x7f478be5e2fa, in ros::CallbackQueue::callAvailable(ros::WallDuration)

7 Object "/opt/ros/melodic/lib/libroscpp.so", at 0x7f478be5c558, in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*)

6 Object "/opt/ros/melodic/lib/libroscpp.so", at 0x7f478beb1e91, in ros::SubscriptionQueue::call()

5 Object "/home/x/WS/devel/lib/plan_manage/traj_server", at 0x55e7d156cae5, in ros::SubscriptionCallbackHelperT<boost::sharedptr<bspline::Bspline<std::allocator > const> const&, void>::call(ros::SubscriptionCallbackHelperCallParams&)

4 Object "/home/x/WS/devel/lib/plan_manage/traj_server", at 0x55e7d1569dfd, in boost::detail::function::void_function_obj_invoker1<boost::function<void (boost::sharedptr<bspline::Bspline<std::allocator > const> const&)>, void, boost::sharedptr<bspline::Bspline<std::allocator > const> >::invoke(boost::detail::function::function_buffer&, boost::sharedptr<bspline::Bspline<std::allocator > const>)

3 Object "/home/x/WS/devel/lib/plan_manage/traj_server", at 0x55e7d155ce45, in bsplineCallback(boost::sharedptr<bspline::Bspline<std::allocator > const> const&)

2 Object "/home/x/WS/devel/lib/libbspline.so", at 0x7f478c10d4f0, in fast_planner::NonUniformBspline::getDerivative()

1 Object "/home/x/WS/devel/lib/libbspline.so", at 0x7f478c10d0a4, in fast_planner::NonUniformBspline::NonUniformBspline(Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, int const&, double const&)

0 Object "/home/x/WS/devel/lib/libbspline.so", at 0x7f478c10ccf5, in fast_planner::NonUniformBspline::setUniformBspline(Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, int const&, double const&)

Segmentation fault (Signal sent by the kernel [(nil)])

[traj_server-2] process has died [pid 30944, exit code -11, cmd /home/x/WS/devel/lib/plan_manage/traj_server /position_cmd:=planning/pos_cmd /odom_world:=/state_ukf/odom __name:=traj_server __log:=/home/x/.ros/log/c0f39336-26f7-11ee-bc6e-0242ec24927f/traj_server-2.log]. log file: /home/x/.ros/log/c0f39336-26f7-11ee-bc6e-0242ec24927f/traj_server-2*.log

The demo of UAV in rviz is stuck.Seek for help. Ubuntu18.04

percyhzy commented 7 months ago

在kinodynamic_astar.cpp中第654行添加return返回值