micro-ROS / micro-ROS/micro_ros_espidf_component

Micro Ros Agent if not configured properly or left with default value, code execution will stop without much debug info.

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

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

主要言語
C
スター
419
フォーク
124
平均マージ
21時間 35分
マージ済み PR(30日)
3

説明

- Hardware description: Doit ESP32 Dev Kit
- RTOS: Simple publisher int32 example.
- Installation type: micro_ros_setup
- Version or commit hash: jazzy

#### Steps to reproduce the issue

- Clone this repo.
- Source the terminal using export.sh and then go to the Int32_publisher example.
- Do idf.py build flash monitor.(Make sure esp32 is connected while doing so).
- I delibrately left the idf.py menuconfig step.
- Once, flashed, you'll see notice that program gets aborted indicating the line at which issue occured without additional info.

#### Expected behavior
The program should atleast output the default config such as ssid, password, micro-ros-agent config. Giving more context and ensuring network is intialized properly and any issue with configuration could be easily debugged.

#### Actual behavior
The program stops indicating the line where issue occured.

#### Proposed Changes:
Adding network intialization check and logging default configuration in the code.

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

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

はじめの一歩

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

調査の方向性

まず、menuconfigをスキップした後、`idf.py build flash monitor`を使用してInt32_publisher例の問題を再現します。abort pathと、networkおよびmicro-ROS agentのconfiguration handlingを調査します。完了条件は、例がconfiguration contextを報告し、行参照だけを表示して停止するのではなく、network initializationまたはconfigurationの失敗を明確に識別することです。

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

評価

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

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

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