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.
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C
- Star
- 419
- Fork
- 124
- Merge trung bình
- 21 giờ 35 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
- 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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện vấn đề trong ví dụ Int32_publisher bằng `idf.py build flash monitor` sau khi bỏ qua menuconfig. Kiểm tra đường dẫn abort và cách xử lý cấu hình network và micro-ROS agent. Công việc được xem là hoàn tất khi ví dụ báo cáo ngữ cảnh cấu hình của nó và xác định rõ các lỗi khởi tạo network hoặc lỗi cấu hình, thay vì chỉ dừng lại với một tham chiếu dòng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- c
- Lĩnh vực
- embedded-iot, networking
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100