ihmc-java-ros2-communication icon indicating copy to clipboard operation
ihmc-java-ros2-communication copied to clipboard

Can't receive large image

Open EltonCN opened this issue 4 years ago • 3 comments

I tested the library to receive image messages, and it works great with test images. But when I try with the real image that is full HD 1920×1080 it receives nothing.

I tried crop the image on publisher node to 10x10 and it worked, so maybe the library has some issues with receving large messages? I'm also using Foxy distro on Windows, so maybe it's compability problem.

EltonCN avatar Dec 15 '20 03:12 EltonCN

Same experience here. Reason: Max data length in ImagePubSubType.java is set to 100 bytes.

ecmnet avatar Oct 18 '21 06:10 ecmnet

Hi guys, yes it's necessary to set some of the message fields sizes larger and regenerate the messages. We haven't done that because we mostly use custom messages we maintain so far. We also don't have much resources to provide support for this library, but it is seeing some updates. The latest development effort is here: https://github.com/SamuelWHalodi/ihmc-pub-sub-group/tree/feature/xml-config

calvertdw avatar Oct 21 '21 02:10 calvertdw

and by the way I am referring to these messages: https://github.com/ihmcrobotics/ihmc-open-robotics-software/tree/develop/ihmc-interfaces/src/main/messages/ihmc_interfaces/controller_msgs/msg

calvertdw avatar Oct 21 '21 02:10 calvertdw