micro-ROS / micro-ROS/micro_ros_setup
How to specify an override for the default serial port used for flashing firmware via flash_firmware.sh?
- 主要言語
- Shell
- スター
- 509
- フォーク
- 183
- 平均マージ
- 22時間 26分
- マージ済み PR(30日)
- 7
説明
## Issue template
- Hardware description: Ubuntu 20.04 (Agent), ESP32 (Client)
- RTOS: FreeRTOS
- Installation type: micro_ros_setup flash_firmware.sh
- Version or commit hash: galactic
#### Steps to reproduce the issue
Running *ros2 run micro_ros_setup flash_firmware.sh* defaults to the first available USB serial port. However, if I have a few MCUs connected -- say USB0, USB1, USB2 -- and I only want to flash the one connected to USB1, how would I go about doing this?
#### Expected behavior
flash_firmware.sh should offer an option (eg, --dev /dev/ttyUSB1) to flash to a particular port
#### Actual behavior
No such option exists. flash_firmware.sh flashes to the first available USB port
#### Additional information
コントリビューションガイド
調査の方向性
まず flash_firmware.sh と ros2 run micro_ros_setup flash_firmware.sh のエントリーポイントを調べ、デフォルトの USB シリアルポートがどのように選択されているかを確認します。/dev/ttyUSB1 のようなデバイスを渡せるようにし、複数の USB デバイスが接続されている場合に、指定したポートがフラッシュ対象になることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli, embedded-iot
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100