Ask Your Question
2

message size limit

asked 2015-04-24 07:34:38 -0600

Wolf gravatar image

In one of my nodes I get in a service call

a message of over a gigabyte was predicted in tcpros. that seems highly unlikely, so I'll assume protocol synchronization is lost.

In this case the msg is really 1+ Gig. Is is possible to increase the messages size limit temporary for this service call?

edit retag flag offensive close merge delete

Comments

WTF? 1 Gigabyte? What are you transmitting there?

cyborg-x1 gravatar imagecyborg-x1 ( 2015-04-24 08:08:51 -0600 )edit

is kind of a map stitched from many images, sent once from the node that creates is to the node that uses it

Wolf gravatar imageWolf ( 2015-04-26 06:44:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-25 02:31:58 -0600

ahendrix gravatar image

The message size limit in ROS is hardcoded. It should be possible to change it, but you'll need to modify roscpp and recompile it to do so.

A quick search on github turns up four locations that might be producing your error message: https://github.com/ros/ros_comm/searc...

edit flag offensive delete link more

Comments

Thank you for the hint! I managed to compress the data before transferring it, which works around the issue as well....

Wolf gravatar imageWolf ( 2015-04-26 06:44:49 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-04-24 07:34:38 -0600

Seen: 1,085 times

Last updated: Apr 25 '15