micro-ROS / micro-ROS/micro_ros_espidf_component

Micro-ros Ping utility issue

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

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

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

説明

## Issue template

- Hardware description: esp32s3 devkit
- RTOS: freertos
- Installation type: standard
- Version or commit hash: humble

#### Steps to reproduce the issue
try the rmw_uros_ping_agent() utility to see whether the Agent is up or not it does not require creating a micro-ros context first...

#### Expected behavior
When I turn the Agent on it should output as RMW_RET_OK else it should throw an error value

#### Actual behavior
![Screenshot from 2023-08-09 16-09-54](https://github.com/micro-ROS/micro_ros_espidf_component/assets/132329071/ac1e2193-43c4-4927-9c0c-f681a285b9f9)
There is a variable called agent_state_flag in the code which gives 0 when agent is off and 1 when agent is on...

![Screenshot from 2023-08-09 16-10-13](https://github.com/micro-ROS/micro_ros_espidf_component/assets/132329071/60684955-bf9f-4de2-9baa-81b71e0fbc0c)
Here I have not started the agent yet

![Screenshot from 2023-08-09 16-10-38](https://github.com/micro-ROS/micro_ros_espidf_component/assets/132329071/62f28cc3-e383-43f5-936d-d77f7e452fa5)
Here I have started the agent

![Screenshot from 2023-08-09 16-09-54](https://github.com/micro-ROS/micro_ros_espidf_component/assets/132329071/710b225b-0354-4988-a28c-41a3853e9596)
Still it the rmw_uros_ping_agent() is not giving me a RMW_RET_OK even when the agent is alive

#### Additional information
![Screenshot from 2023-08-09 16-11-22](https://github.com/micro-ROS/micro_ros_espidf_component/assets/132329071/ad886199-c477-4238-9400-a9a275d05b93)
The code snippet which I am using...

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

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

はじめの一歩

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

調査の方向性

報告されたエントリーポイント rmw_uros_ping_agent() から開始し、Agent を停止した状態と実行中の状態で ESP32-S3 上の動作を再現します。戻り値を、報告された agent_state_flag の値および期待される結果 RMW_RET_OK と比較します。ユーティリティが利用可能な Agent と利用できない Agent を確実に区別できれば完了です。

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

評価

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

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

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