micro-ROS / micro-ROS/micro-ROS-Agent
Question about how to debug communication data between micro-ROS-agent and micro-ROS-client
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 201
- Forks
- 111
- Ø Merge
- 1 T. 6 Std.
- Gemergte PRs (30 T.)
- 10
Beschreibung
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.
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 mit dem seriellen micro_ros_agent-Befehl unter Verwendung von /dev/ttyACM0 und seiner Option -v und überprüfe anschließend, wie der micro_ros_arduino-Client mit dem Agenten kommuniziert. Als abgeschlossen gilt die Identifizierung einer praktischen Möglichkeit, übertragene und empfangene Daten zu inspizieren oder aufzuzeichnen, sowie die Dokumentation des Debugging-Ansatzes oder -Tools.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- arduino, cpp, linux
- Bereich
- devtools, networking
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100