Robotics StackExchange | Archived questions

Array size limited to 255 in rosserial

I'm trying to send a PointCloud2 message from a windows machine to the ROS master via rosserialwindows. The message includes a data array that needs to hold 512x424x2 bytes, but the datalength field as generated by rosserial is a uint8 and limited to 255. Is there a way to make a larger array, or is this something that needs to be modified in rosserial?

Asked by KareemShehata on 2014-08-09 09:31:15 UTC

Comments

Answers