koide3 / hdl_localization

Real-time 3D localization using a (velodyne) 3D LIDAR
BSD 2-Clause "Simplified" License
777 stars 309 forks source link

The problem when launch the node #24

Open txshang opened 4 years ago

txshang commented 4 years ago

When I use "rosparam set use_sim_time true" "roslaunch hdl_localization hdl_localization.launch" it will stop on the this staement "[ INFO] [1568861604.901954411]: Initializing nodelet with 8 worker threads." if I use "rosparam set use_sim_time false" It wiil report the error like this "[FATAL] [1568860914.615317735]: Failed to load nodelet '/globalmap_server_nodeletof typehdl_localization/GlobalmapServerNodeletto managervelodyne_nodelet_manager' [FATAL] [1568860914.615321512]: Failed to load nodelet '/hdl_localization_nodeletof typehdl_localization/HdlLocalizationNodeletto managervelodyne_nodelet_manager'" I use ros-indigo on ubuntu14.04.

koide3 commented 4 years ago

What is the version of PCL and g2o? If you're using one you built by yourself, I recommend to switch to ones provided by ROS (the ones you can install with apt). It's been reported that self-built libraries cause this kind of problems.

zorosmith commented 4 years ago

@txshang hello, have you solved this problem? Plz let me know.

zorosmith commented 4 years ago

@koide3 Hello, following your suggestion, I switched the pcl to the one provided by ROS. However, I met the same error. These are my set-up: ubuntu16.04, ros-kinetic, ros-kinetic-pcl(1.7), cmake_3.15, std::c++11. Any help will be appreciated!