micro_ros_arduino icon indicating copy to clipboard operation
micro_ros_arduino copied to clipboard

"Subscriber error : Deserialization of data failed -> function deserialize_change" error on the output

Open anasderkaoui opened this issue 1 year ago • 0 comments

  • Hardware description: Arduino Portenta H7
  • Version or commit hash: foxy

Steps to reproduce the issue

When I compile the code on the arduino IDE and upload it to the Arduino h7 board everything works fine and the publisher and suscriber show up. (Unlike with the ros2arduino package where there is no publisher showing up, I don't know if there is a fix yet or not) The next thing is to run the micro_ros agent and then echo the topic ! I get the data I need (distance to obstacle using three ultrasonic sensors), but from time to time I get this error Subscriber error : Deserialization of data failed -> function deserialize_change

And I don't know why I get it. I looked up everywhere I could but did not find a fix for it ! Any suggestions are welcome !

Additional information

Code.txt

Screenshot from 2024-01-08 15-02-52

anasderkaoui avatar Jan 08 '24 14:01 anasderkaoui