[Ros-release] roscpp subscriber callback not triggered when sending from Android

Marcus Liebhardt marcus.liebhardt at rnd.yujinrobot.com
Fri Dec 14 01:33:31 UTC 2012


On Fri, Dec 14, 2012 at 10:32 AM, Marcus Liebhardt <
marcus.liebhardt at rnd.yujinrobot.com> wrote:

> On Thu, Dec 13, 2012 at 10:40 PM, Damon Kohler <damonkohler at google.com>wrote:
>
>> Ah, sorry, I misunderstood.
>>
>> Perhaps the handshake is failing? Could you provide a wireshark dump
>> of the Android app publishing to a roscpp subscriber? Be sure to
>> include the negotiation phase.
>>
>
> I attached a dump. It starts with launching the turtlebot bootstrap layer
> (minimal.launch), then the teleop app is triggered from the Android device.
> Additionally to sending messages from the Android device, I also send few
> test messages from the local machine and from a third machine (both Ubuntu
> 64bit machines).
>
> Only the messages from the Android device don't get through to the roscpp
> listener. The messages from the local machine and the other Ubuntu machine
> are received correctly (callbacks in both roscpp and rospy implementations
> are triggered).
>
> Few additional details for the dump:
> pirate-nest.yujin.com (192.168.10.125) is connected to the turtlebot base
> (that's where the app is launched), the Android device is 192.168.10.100
> and the third machine is chopin.yujin.com (192.168.10.168).
>
> Marcus
>

Sorry, forgot to add the dump.


>
>
>>
>> On Thu, Dec 13, 2012 at 2:32 PM, Marcus Liebhardt
>> <marcus.liebhardt at rnd.yujinrobot.com> wrote:
>> > On Thu, Dec 13, 2012 at 7:09 PM, Damon Kohler <damonkohler at google.com>
>> > wrote:
>> >>
>> >> This may be a good question for http://answers.ros.org
>> >
>> >
>> > Hmm, might be true. I was not sure, if it fits. Since it was working for
>> > Fuerte, it might be a hidden Groovy bug.
>> > I'll repost it there, if you like.
>> >
>> >>
>> >>
>> >>
>> >> The first thing I would check is whether or not the message is
>> >> actually making it over the network (e.g. wireshark). You could also
>> >> try a simple rosjava subscriber. I can say, that this use case is used
>> >> actively so it's likely a configuration problem.
>> >
>> >
>> > The message does come through, since the rospy subscribers I have
>> tested in
>> > parallel are receiving the message. Only the roscpp callbacks are not
>> > triggered.
>> >
>> > Marcus
>> >
>> >>
>> >> On Thu, Dec 13, 2012 at 10:15 AM, Marcus Liebhardt
>> >> <marcus.liebhardt at rnd.yujinrobot.com> wrote:
>> >> > Another problem I ran into today:
>> >> > When sending messages from an Android app (e.g. Turtlebot teleop
>> sending
>> >> > geometry_msgs/Twist), the callback of my roscpp subscriber didn't get
>> >> > triggered.
>> >> > I tested this with simple subscriber implementations in roscpp and
>> rospy
>> >> > in
>> >> > parallel (plus rostopic echo, which is also implemented with rospy
>> >> > AFAIK).
>> >> > This only happened when sending from Android, so might be a bug there
>> >> > (or
>> >> > just because we currently can't recompile those apps). When sending
>> from
>> >> > another 2.Beta Groovy 64Bit Ubuntu machine, callbacks in both
>> >> > implementations worked fine.
>> >> >
>> >> > If anybody knows further tests, with which I could narrow down the
>> root
>> >> > cause, please let me know!
>> >> >
>> >> > Thanks,
>> >> > Marcus
>> >> >
>> >> > --
>> >> > Marcus Liebhardt
>> >> > Control Engineer
>> >> > Yujin Robot
>> >> > 주소: 대한민국 서울시 금천구 가산동 345-30 남성프라자 #601, 153-023.
>> >> > Address: Door #601, Namsung-Plaza, 345-30 Gasan-dong, Guemcheon-gu,
>> >> > Seoul,
>> >> > 153-023, Republic of Korea
>> >> > Website: http://www.yujinrobot.com
>> >> > Email: marcus.liebhardt at yujinrobot.com
>> >> > Phone: +82-70-46577073
>> >> >
>> >> > _______________________________________________
>> >> > Ros-release mailing list
>> >> > Ros-release at code.ros.org
>> >> > https://code.ros.org/mailman/listinfo/ros-release
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> :wq
>> >>
>> >> Google Germany GmbH
>> >> Dienerstr. 12
>> >> 80331 München
>> >>
>> >> AG Hamburg, HRB 86891
>> >> Sitz der Gesellschaft: Hamburg
>> >> Geschäftsführer: Graham Law, Katherine Stephens
>> >>
>> >> Tax ID:- 48/725/00206
>> >> VAT ID:- DE813741370
>> >
>> >
>> >
>> >
>> > --
>> > Marcus Liebhardt
>> > Control Engineer
>> > Yujin Robot
>> > 주소: 대한민국 서울시 금천구 가산동 345-30 남성프라자 #601, 153-023.
>> > Address: Door #601, Namsung-Plaza, 345-30 Gasan-dong, Guemcheon-gu,
>> Seoul,
>> > 153-023, Republic of Korea
>> > Website: http://www.yujinrobot.com
>> > Email: marcus.liebhardt at yujinrobot.com
>> > Phone: +82-70-46577073
>>
>>
>>
>> --
>> :wq
>>
>> Google Germany GmbH
>> Dienerstr. 12
>> 80331 München
>>
>> AG Hamburg, HRB 86891
>> Sitz der Gesellschaft: Hamburg
>> Geschäftsführer: Graham Law, Katherine Stephens
>>
>> Tax ID:- 48/725/00206
>> VAT ID:- DE813741370
>>
>
>
>
> --
> Marcus Liebhardt
> Control Engineer
> Yujin Robot
> 주소: 대한민국 서울시 금천구 가산동 345-30 남성프라자 #601, 153-023.
> Address: Door #601, Namsung-Plaza, 345-30 Gasan-dong, Guemcheon-gu,
> Seoul, 153-023, Republic of Korea
> Website: http://www.yujinrobot.com
> Email: marcus.liebhardt at yujinrobot.com
> Phone: +82-70-46577073
>



-- 
Marcus Liebhardt
Control Engineer
Yujin Robot
주소: 대한민국 서울시 금천구 가산동 345-30 남성프라자 #601, 153-023.
Address: Door #601, Namsung-Plaza, 345-30 Gasan-dong, Guemcheon-gu, Seoul,
153-023, Republic of Korea
Website: http://www.yujinrobot.com
Email: marcus.liebhardt at yujinrobot.com
Phone: +82-70-46577073
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-release/attachments/20121214/69ef4d22/attachment-0009.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: turtlebot_android_pub_sub_test
Type: application/octet-stream
Size: 1462946 bytes
Desc: not available
URL: <http://lists.ros.org/pipermail/ros-release/attachments/20121214/69ef4d22/attachment-0009.obj>


More information about the Ros-release mailing list