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.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C
- Sterne
- 419
- Forks
- 124
- Ø Merge
- 21 Std. 35 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
- 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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem im Beispiel Int32_publisher mit `idf.py build flash monitor` zu reproduzieren, nachdem du menuconfig übersprungen hast. Untersuche den Abbruchpfad sowie die Handhabung der Netzwerk- und micro-ROS agent-Konfiguration. Die Aufgabe ist abgeschlossen, wenn das Beispiel seinen Konfigurationskontext ausgibt und Netzwerkinitialisierungs- oder Konfigurationsfehler eindeutig identifiziert, anstatt nur mit einem Zeilenverweis zu stoppen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- c
- Bereich
- embedded-iot, networking
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100