This repository was archived by the owner on Aug 11, 2023. It is now read-only.
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
custom messages with fixed-length arrays is received in rosjava as an empty array #221
Closed
Description
I discovered an issue with messages containing an array with a fixed (predefined size).
Message example that is not working:
string[5] names
Message example that is working:
string[] names
If I subscribe in rosjava (Android) to the first message, I always get an empty names
array with size zero. However, if I publish the second message with dynamic size 5 (filled with names.push_back("name");
) I get the correct size with the content.
Is this a known limitation? Or just a bug?
Metadata
Metadata
Assignees
Labels
No labels