首先我们回顾一下,完成一个最小单元的ROS2目标文件,需要哪些内容呢? # 设置版本cmake_minimum_required(VERSION3.5)project(my_math_lib)# 查找库find_package(ament_cmakeREQUIRED)find_package(rclcppREQUIRED)# 构建目标add_library()# 或者add_executable()# 链接库ament_target_dependencies()# 导出库ament_exp...
I like that ament_cmake_auto can potentially eliminate a lot of boilerplate. However, I've not been able to find any documentation for it besides three examples at the bottom of this article: https://design.ros2.org/articles/ament.html. ...
For context, I need a call to ament_auto_find_build_dependencies in order to get ament_auto_package to export dependencies correctly (otherwise these variables don't get set) so the workflow then is to (1) just let ament_auto_find_build_dependencies call find_package with QUIET if that i...