micro-ROS / micro-ROS/micro_ros_arduino
"Subscriber error : Deserialization of data failed -> function deserialize_change" error on the output
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 576
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
- 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](https://github.com/micro-ROS/micro_ros_arduino/files/13861777/Code.txt)

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the attached Code.txt and the Arduino IDE upload path, then compare behavior while running the micro-ROS agent and echoing the topic. Reproduce the intermittent deserialize_change error and document the conditions that trigger it; done means the failure is explained and a verified fix or precise reproduction is recorded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, c
- Domain
- embedded-iot, robotics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100