micro-ROS / micro-ROS/micro_ros_espidf_component

embeddedRTPS build issue

未关闭
#336 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C
星标
419
派生
124
平均合并
21 小时 35 分钟
30 天内合并 PR
3

描述

`embeddedRTPS` failed to build in CI. This is because [`ament_cmake` recently removed `ament_cmake_target_dependencies`](https://github.com/ament/ament_cmake/pull/614). However, `micro-ROS/embeddedRTPS`, `micro-ROS/rmw_embeddedrtps`, and `micro-ROS/rcl` are still using it. The call in `micro-ROS/rcl` is wrapped with `if(NOT RCL_MICROROS)`, so it doesn't trigger during the build.

An AI provided me with a very hacky (but working) workaround — adding `ament_target_dependencies.cmake` back into `ament_cmake` during the build... But I think it's better to update the three libraries mentioned above.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 micro-ROS/embeddedRTPS、micro-ROS/rmw_embeddedrtps 和 micro-ROS/rcl 中的 ament_cmake_target_dependencies 调用,并注意 rcl 中的条件使用。检查 embeddedRTPS 的 CI 构建,并验证在不恢复已删除的 ament_cmake 文件的情况下,三个库都能成功构建。

由索引模型根据 Issue 内容生成。

评估

技术栈
cmake
领域
build-system, embedded-iot
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。