Re: [ros-users] rosjava bug and message overflow

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nicholas Butko
Date:  
To: ros-users@code.ros.org
Subject: Re: [ros-users] rosjava bug and message overflow
Brian,

I did a little work updating rosjava a little while ago, and use it
frequently. I am listed as the current maintainer, I think. I can
handle patches like this if you like, but I am currently out of town
and away from my computer until Friday.

Brett, if you send me a patch, I can take care of it on Friday.

--Nick

On Apr 21, 2010, at 11:18 AM, Brian Gerkey <>
wrote:

> Btw, rosjava is in need of a maintainer.
>
> I did a bit of work this morning to get rosjava, test_rosjava, and
> rosclj unblacklisted and building against both boxturtle and latest.
> So at least our continuous integration system
> (http://build.willowgarage.com/) will let us know if they stop
> working.
>
> But in the long term, we'll need somebody who uses rosjava to
> volunteer to maintain it.
>
>    brian.

>
> On Wed, Apr 21, 2010 at 1:16 PM, Brett Ponsler <>
> wrote:
>> Hello everyone,
>>
>> I joined the mailing list yesterday and so I apologize if these
>> points have
>> been brought up previously.
>>
>> Here's a little background information: I am running ROS on Ubuntu
>> 9.10. I
>> am using both roscpp and rosjava on two machines.
>>
>> First of all, I have noticed a bug with rosjava. When creating
>> constant
>> Strings within an ROS message it fails to add the surrounding
>> quotations.
>> For example:
>>
>> string TEMP=HELLO
>>
>> Would become: public static final String TEMP = HELLO;
>>
>> Instead of: public static final String TEMP = "HELLO";
>>
>> Is this currently being fixed? If not, I can provide a patch for
>> the bug.
>>
>> Now for the real question: Is there a maximum length for the size
>> of a
>> string that can be sent through an ROS message? I have noticed that
>> there
>> seems to be a limit of about 475 characters after which it causes a
>> buffer
>> overflow (we have observed ROS completely crashing when a string of
>> 476
>> characters is sent but not when 475 are sent).
>>
>> The crash occurs prior to entering the subscribed method, which is
>> why I
>> assume it's in the ROS library.
>>
>> Thanks for your help,
>>
>> Brett Ponsler
>>
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users