You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.
As already written in rosjava_corerosjava/rosjava_core#221, but I guess here ist the right place.
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?
The text was updated successfully, but these errors were encountered:
Working with @ernestmc on a project we found this issue with uint8 arrays and provided a fix in #59
I ran out of time with that, but would greatly appreciate validation, improvement and maybe porting to other types that suffer from the same.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As already written in
rosjava_core
rosjava/rosjava_core#221, but I guess here ist the right place.I discovered an issue with messages containing an array with a fixed (predefined size).
Message example that is not working:
Message example that is working:
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 withnames.push_back("name");
) I get the correct size with the content.Is this a known limitation? Or just a bug?
The text was updated successfully, but these errors were encountered: