micro_ros_agent installation issue on ROS 2 Humble Ubuntu 22.04
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, linux, shell, ubuntu
- 领域
- build-system
调研方向
在使用 ROS 2 Humble 的 Ubuntu 22.04 上,使用 create_agent_ws.sh 和 build_agent.sh 重现该故障。检查 find_package 调用处的 CMakeLists.txt 以及所引用的 fastrtps CMake 配置,并以报告中的目标定义作为起点。micro-ROS agent 工作区成功构建并且 agent 可以运行,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Issue template
- Hardware description: PC, Ubuntu 22.04
- RTOS: Ardupilot SITL
- Installation type: micro_ros_setup
- Version or commit hash: humble
Steps to reproduce the issue
Follow First micro-ROS Application on Linux. When creating and building the micro-ROS agent
ros2 run micro_ros_setup create_agent_ws.sh
ros2 run micro_ros_setup build_agent.sh
I run into the following error:
stderr: micro_ros_agent
CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: eProsima_atomic
Targets not yet defined: fastrtps
Call Stack (most recent call first):
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:60 (include)
CMakeLists.txt:37 (find_package)
Expected behavior
micro-ROS agent installation works as expected and I can use it for working with Ardupilot.
Actual behavior
stderr: micro_ros_agent
CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: eProsima_atomic
Targets not yet defined: fastrtps
Call Stack (most recent call first):
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:60 (include)
CMakeLists.txt:37 (find_package)
Additional information
Installing Fast-DDS from source didn't fix the issue for me either
- 主要语言
- Shell
- 星标
- 509
- 派生
- 183
- 平均合并
- 22 小时 26 分钟
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
micro-ROS/micro_ros_setup 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
micro-ROS/micro_ros_setup#837 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
micro-ROS/micro_ros_setup#814 ·
-
难度 4/5 3-5 天 新手友好度 42/100
micro-ROS/micro_ros_setup#809 ·
-
难度 4/5 3-5 天 新手友好度 38/100
micro-ROS/micro_ros_setup#808 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
micro-ROS/micro_ros_setup#806 ·
查看 micro-ROS/micro_ros_setup 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
module: core
难度 2/5 1-3 小时 新手友好度 75/100
bigbluebutton/bigbluebutton#25849 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
难度 1/5 1 小时以内 新手友好度 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
难度 2/5 1-3 小时 新手友好度 70/100
fairagro/m4.2_sql_to_arc#227 ·