micro-ROS / micro-ROS/micro-ROS-Agent

Question about how to debug communication data between micro-ROS-agent and micro-ROS-client

Abierto
#265 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
201
Forks
111
Merge medio
1 d 6 h
PR fusionados (30 d)
10

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el comando serie de micro_ros_agent usando /dev/ttyACM0 y su opción -v; después, revisa cómo se comunica el cliente micro_ros_arduino con el agente. Se considera completado cuando se haya identificado una forma práctica de inspeccionar o registrar los datos transmitidos y recibidos, y se haya documentado el enfoque o la herramienta de depuración.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
arduino, cpp, linux
Área
devtools, networking
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.