rosserial communication breaks after certain amount of time
Hello,
I am working on a mobile robot that consists of Jetson Xavier NX (aarch64 aarch64 GNU/Linux) and Nucleo board F429ZI (STM32). I am on Ubuntu 18.04 and ROS melodic. The motors and IMU are interfaced with the Nucleo board. The Nucleo board is publishing the Joint state, IMU values, and other sensors information. It is also receiving the wheels velocities from a topic to drive motors. The rosserial library is used for communication between Xavier and Nucleo board.
Everything works well when I bringup the robot but after 5-10 minutes I start receiving one of the following errors/info.
- wrong checksum for topic id and msg
- unable to sync with the device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
- no sync with device try restarting
- Mismatched protocol version in packet: lost sync or rosserial_python is from different ros release than the rosserial client
After the error except error 4, the joint states are no more published. However, I can still send the commands to wheels through joystick or keyboard.
Additionally, I have tested the same setup on my laptop Dell precision 3551 ubuntu 18.04 (\x86_64 x86_64 x86_64 GNU/Linux) and no such info/error appears.
Do you have any expert opinion? Please let me know if you need any additional information
Thanks