micro-ROS / micro-ROS/micro-ROS-Agent
Question about how to debug communication data between micro-ROS-agent and micro-ROS-client
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C++
- Star
- 201
- Fork
- 111
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 10
Mô tả
Hello.
I'm running micro-ROS-agent on Linux. And micro-ROS-client (I'm running micro_ros_arduino) on the MCU to communicate with the agent.
* Note: Github address of the micro-ROS-client library I am running
https://github.com/micro-ROS/micro_ros_arduino
However, as I've been running micro-ROS, I've noticed a lot of data being sent and received, and the data cycles are fast, so I've been experiencing frequent communication issues.
So, I'd like to know how to identify where communication issues and bottlenecks are occurring in micro-ROS.
As far as I know, changing the log level with the -v option when running micro-ROS-agent itself changes the diversity of the logs.
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0
However, when I use the -v option to view the data, it's too fast for the human eye. I'd like to either print out the transmitted and received data so it can be viewed by the human eye, or record it.
**Is there an easy way to view or record this data, or a way to implement my own code, or a free debugging tool?**
Thank you.
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 với lệnh nối tiếp của micro_ros_agent sử dụng /dev/ttyACM0 và tùy chọn -v của nó, sau đó xem xét cách client micro_ros_arduino giao tiếp với agent. Được xem là hoàn tất khi xác định được một cách thực tế để kiểm tra hoặc ghi lại dữ liệu đã truyền và nhận, đồng thời ghi lại cách tiếp cận hoặc công cụ debugging.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- arduino, cpp, linux
- Lĩnh vực
- devtools, networking
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100