ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosserial communication breaks after certain amount of time

asked 2022-03-03 00:26:16 -0500

faraziii gravatar image

updated 2022-03-03 06:04:20 -0500

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.

  1. wrong checksum for topic id and msg
  2. unable to sync with the device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
  3. no sync with device try restarting
  4. 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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-08 07:08:59 -0500

faraziii gravatar image

Hello,

I had 3 Jetson Xavier. Two of the jetsons were purchased from SeedsStduio. Both of them caused the same error. However, Replacing it with 3rd one did the trick.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-03-03 00:26:16 -0500

Seen: 117 times

Last updated: Mar 08 '22