프로그래밍/ROS

ROS에서 serial 통신하는 경우 보내거나 받은 실제 hex 데이터 확인 방법

스스배 2021. 6. 24. 10:44

$ strace -s9999 -o myapp.strace -eread,write,ioctl -x rosrun my_pakage my_node

 

-x가 있어야 wite read쪽에 데이터가 hex로 변환됨

 

출처

https://unix.stackexchange.com/questions/12359/how-can-i-monitor-serial-port-traffic

 

How can I monitor serial port traffic?

Is there any port monitoring tool to watch the packets written on the port? I especially want to check if my program written in Java works so I need some kind of tool to see if my little applicatio...

unix.stackexchange.com