-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supported 32bit array lengths in python make_libraries script #222
Supported 32bit array lengths in python make_libraries script #222
Conversation
This looks right to me. Have you checked both the publish and subscribe side? |
Edit: Wait, I'm an idiot— the length is two bytes, so you're good up to 64k. |
I've tested both subscribing and publishing a I'm a little confused what length limit you're referring to. Is it that the total message length(counting all fields) is expected to by 256 bytes long? Is there a protocol format design document I can compare against? |
Protocol is described here: http://wiki.ros.org/rosserial/Overview/Protocol See my edit above, re: overall message length. |
Thanks for the contribution! I'll merge as is, and then test and release for Kinetic, eventually probably Jade too. |
Oh awesome, glad I could help :) |
@sevenbitbyte, @mikepurvis, We just run into the |
@spmaniato I don't see any reason this won't work on indigo. However, it does not look like this exact PR would merge cleanly on to the indigo-devel branch so I should probably double check that it works there and open a new PR. It will take me a day or two to find time to test and re-submit for indigo. |
Thanks for getting back to me @sevenbitbyte Sounds good. No rush though. We ended up building |
This patch enables de/serialization of ROS messages with arrays containing greater than 256 elements. This is important for many types such as sensor_msgs/Image. There now exist many controllers supported under ROS such as the teensy 3.1 with large amounts of RAM. Correct header generation is the only thing currently preventing developers interested in utilizing these powerful devices from quickly and easily integrating with ROS.
For example this patch created the following header for sensor_msgs/Image: