micro-ROS / micro-ROS/micro_ros_setup

error: field 'platform' has incomplete type

オープン
#713 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Shell
スター
509
フォーク
183
平均マージ
22時間 26分
マージ済み PR(30日)
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.

![1](https://github.com/user-attachments/assets/d56dc275-5284-4644-a8e5-547f504d497d)
![2](https://github.com/user-attachments/assets/95c9aaa8-a420-4298-a1cf-db7b41459456)
![3](https://github.com/user-attachments/assets/eb36a1b8-ad2d-408f-8b09-5e47f6fb7ce4)
![4](https://github.com/user-attachments/assets/e87fba1e-3b86-429d-9b88-b2002a320640)
![5](https://github.com/user-attachments/assets/3119b038-007b-426b-8ea6-6bf8273d97ae)
![7](https://github.com/user-attachments/assets/635ac136-e17f-4fd0-8438-e599f534ad60)
![8](https://github.com/user-attachments/assets/f3e40e2b-5e53-4f9c-9f22-2567c12816ca)
![9](https://github.com/user-attachments/assets/7094bb75-0baf-4dcb-b013-9c88da4f48e8)
![10](https://github.com/user-attachments/assets/c852622b-13ec-4230-8d2c-860769c0dd29)
![11](https://github.com/user-attachments/assets/6b28661f-5836-4df4-a863-4bfe228d1a07)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 workspace が正常にビルドできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c
領域
build-system, embedded-iot
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。