Title: Deserializing error for string type · Issue #234 · micro-ROS/micro-ROS-Agent · GitHub
Open Graph Title: Deserializing error for string type · Issue #234 · micro-ROS/micro-ROS-Agent
X Title: Deserializing error for string type · Issue #234 · micro-ROS/micro-ROS-Agent
Description: Describe the bug String types in service types cause microROS on the MCU side to fail in the executor due to a deserializing error. Running it through a debugger it fails in ucdr_deserialize_sequence_header when parsing the nested messag...
Open Graph Description: Describe the bug String types in service types cause microROS on the MCU side to fail in the executor due to a deserializing error. Running it through a debugger it fails in ucdr_deserialize_sequen...
X Description: Describe the bug String types in service types cause microROS on the MCU side to fail in the executor due to a deserializing error. Running it through a debugger it fails in ucdr_deserialize_sequen...
Opengraph URL: https://github.com/micro-ROS/micro-ROS-Agent/issues/234
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deserializing error for string type","articleBody":"**Describe the bug**\r\nString types in service types cause microROS on the MCU side to fail in the executor due to a deserializing error. Running it through a debugger it fails in ucdr_deserialize_sequence_header when parsing the nested message type.\r\n\r\nService calls with non-string types work as expected. I've verified it's not a buffer overflow since the buffer size \u003e\u003e bytes received. There is also no packet corruption in UDP traffic, the dest packet and src packet match 1:1. \r\n\r\n**To Reproduce**\r\nSteps to reproduce the behaviour:\r\n1. On MCU, init service with service type that has a string type\r\n2. On host side, call service\r\n\r\n**Expected behaviour**\r\nThe MCU accepts the service call and handles accordingly.\r\n\r\n**Actual behaviour**\r\nExecutor fails due to deserialization error.\r\n\r\n**System information (please complete the following information):**\r\n - OS: Ubuntu 22.04\r\n - ROS 2 Humble\r\n - MCU: STM32F767ZI\r\n","author":{"url":"https://github.com/hr-ti","@type":"Person","name":"hr-ti"},"datePublished":"2024-08-23T14:28:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/234/micro-ROS-Agent/issues/234"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:332976e7-f13c-3110-cb31-133ff770a5aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7B0:1B8E26:7D2F9E4:A2613D0:6975C51E |
| html-safe-nonce | d30657c43e18351ff7e6986a52651381b1d1cf8a5e4e1e2f3a14c592c81251c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0IwOjFCOEUyNjo3RDJGOUU0OkEyNjEzRDA6Njk3NUM1MUUiLCJ2aXNpdG9yX2lkIjoiMzE0NDA4NDEyODgwNjU4NTYzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0cf40e6d29e9d4b0bf521b2b2808ecb26cb166b53decd31ccaa50cc6d790ce8d |
| hovercard-subject-tag | issue:2483274388 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/micro-ROS/micro-ROS-Agent/234/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d79a07a89e23b1af8b04b7bf8b329bd4221d9edd666fd60a94e9b9a907a47fbf/micro-ROS/micro-ROS-Agent/issues/234 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d79a07a89e23b1af8b04b7bf8b329bd4221d9edd666fd60a94e9b9a907a47fbf/micro-ROS/micro-ROS-Agent/issues/234 |
| og:image:alt | Describe the bug String types in service types cause microROS on the MCU side to fail in the executor due to a deserializing error. Running it through a debugger it fails in ucdr_deserialize_sequen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hr-ti |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/micro-ROS/micro-ROS-Agent git https://github.com/micro-ROS/micro-ROS-Agent.git |
| octolytics-dimension-user_id | 49058602 |
| octolytics-dimension-user_login | micro-ROS |
| octolytics-dimension-repository_id | 156196165 |
| octolytics-dimension-repository_nwo | micro-ROS/micro-ROS-Agent |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 156196165 |
| octolytics-dimension-repository_network_root_nwo | micro-ROS/micro-ROS-Agent |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width