Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Modifications to run microROS on NuttX RTOS

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c
領域
embedded-iot

調査の方向性

まず NuttX アプリケーションのコンパイルを再現し、NuttX の dirent.h にある DIR の定義とあわせて micro_ros_src/src/rcutils/src/filesystem.c を調査してください。RCUTILS_NO_FILESYSTEM 周辺の条件付き処理を確認し、DIR を再定義せずに例がコンパイルできることを検証してください。この issue では microros/example_app/microros_main.c の変更についても言及されており、確認が必要になる可能性があります。

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

説明

Issue template

microROS on NuttX target runs correctly again, but there are some corrections required to correctly compile the example.

  • Hardware description: nucelo-144 board
  • RTOS: NuttX
  • Installation type: microROS for NuttX (this example)
  • Version or commit hash: galactic
Steps to reproduce the issue

The file micro_ros_src/src/rcutils/src/filesystem.c contains a redefinition of "DIR" (which is already defined in the dirent.h" file in NuTTX).

A test is required such

#ifdef DIR or #ifndef DIR....

Expected behavior

the nuttx application compile again

Actual behavior

There is the error about redefining DIR. To get the compilaton correctly I've commented the line

#ifdef RCUTILS_NO_FILESYSTEM
//typedef int DIR; <=======
#endif // _RCUTILS_NO_FILESYSTEM
typedef struct rcutils_dir_iter_state_t
{
#ifdef _WIN32
HANDLE handle;
WIN32_FIND_DATA data;
#else
DIR * dir;
#endif
} rcutils_dir_iter_state_t;

but it is not the correct solution.

Additional information

I've modified also the microros_main.c file in the microros/example_app

主要言語
Makefile
スター
15
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

micro-ROS/micro_ros_nuttx_app のほかの issue

micro-ROS/micro_ros_nuttx_app の issue をすべて見る

似ている issue

Embedded & IoT の issue をもっと見る

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

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