micro-ROS / micro-ROS/micro_ros_setup
error: field 'platform' has incomplete type
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 509
- 派生
- 183
- 平均合并
- 22 小时 26 分钟
- 30 天内合并 PR
- 7
描述
Issue template
- Hardware description: STM32F722ZET6U
- RTOS: FreeRTOS
- Installation type: custom ROS message
- Version or commit hash: Humble
Steps to reproduce the issue
I'm a beginner doing tutorials on the "micro.ros.org " site.
Among them, an error occurs during the "How to include a custom ROS message in micro-ROS" process and asks questions.
An error occurs while building micro-ROS workspace, and it does not work.
I'd appreciate your help.
Actual behavior
The error contents are as follows.
firmware/mcu_ws/eProsima/Micro-XRCE-DDS-Client/include/uxr/client/profile/transport/serial/serial_transport.h:39:30: error: field 'platform' has incomplete type
struct uxrSerialPlatform platform;
^~~~~~~~
Additional information
I attach the details as a picture.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 firmware/mcu_ws/eProsima/Micro-XRCE-DDS-Client/include/uxr/client/profile/transport/serial/serial_transport.h 开始,检查构建输出和随附的屏幕截图,查找缺失的 uxrSerialPlatform 定义。在使用 FreeRTOS 的 STM32F722ZET6U 上复现自定义 ROS 消息教程,然后确定导致不完整类型错误的配置或 include 问题。micro-ROS 工作区成功构建即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c
- 领域
- build-system, embedded-iot
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100