环境:ubuntu 20.04 ros2 foxy
安装镭神M10串口版雷达,编译报错
Starting >>> lslidar_driver
--- stderr: lslidar_driver
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
CMake Error at CMakeLists.txt:22 (find_package):
By not providing "Finddiagnostic_updater.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"diagnostic_updater", but CMake did not find one.
Could not find a package configuration file provided by
"diagnostic_updater" with any of the following names:
diagnostic_updaterConfig.cmake
diagnostic_updater-config.cmake
Add the installation prefix of "diagnostic_updater" to CMAKE_PREFIX_PATH or
set "diagnostic_updater_DIR" to a directory containing one of the above
files. If