SICKAG / sick_lidar_localization

Apache License 2.0
24 stars 10 forks source link

Frequent dropping of localization message #14

Closed ncs-shaunelim closed 11 months ago

ncs-shaunelim commented 1 year ago

Hi,

OS: Ubuntu 20.04 ROS: Noetic LidarLoc: 2.2.2.50R sick_lidar_localization: 5.4.0 Processor: i7-8559U RAM: 8Gb Performance mode: Enabled

I have followed the instructions and have succeeded in the following:

Problem: I am subscribing to the localization_result message. It seems that the message intermittently stops publishing and resumes in a certain pattern.

I turn on verbose, and the printout of udpMessageReceived reflects the same pattern.

Is there some parameter that I am setting wrongly?

ncs-shaunelim commented 1 year ago

Did some digging. Turns out that libcurl-dev was not installed properly.

Instructions given in the README.md needs to be updated as libcurl-dev cannot be installed through

sudo apt install libcurl-dev

Running the above throws error:

Reading package lists... Done Building dependency tree
Reading state information... Done Package libcurl-dev is a virtual package provided by: libcurl4-openssl-dev 7.68.0-1ubuntu2.15 libcurl4-nss-dev 7.68.0-1ubuntu2.15 libcurl4-gnutls-dev 7.68.0-1ubuntu2.15 You should explicitly select one to install.

After installing, problem is resolved.