Livox-SDK / livox_ros_driver

Livox device driver under ros, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
370 stars 204 forks source link

fix: compile error regarding <memory> header #143

Open jfrascon opened 1 year ago

jfrascon commented 1 year ago

Hello, there is the issue #163 in Livox-SDK repo asking for a fix in the file 'sdk_core/src/base/thread_base.h' You already have a pull request that solves the issue, and it is really simple, just adding the "memory" header file to the previous file. In the repo livox_ros_driver there is the same problem. It does not compile with newer versions of gcc and clang. Reason: https://github.com/Livox-SDK/Livox-SDK/pull/163#issuecomment-1203830804 In this repo, the fix is just addind the "memory" header into the file https://github.com/Livox-SDK/livox_ros_driver/blob/master/livox_ros_driver/timesync/timesync.h.

Please, can you include that header in this file, so we can add the this repo as a submodule of our projects instead for convenience.

Thank you.