Re: [ros-users] Node launching sequence affecting message ca…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Ken Conley
日付:  
To: ros-users
題目: Re: [ros-users] Node launching sequence affecting message callbacks
Hi Advait,

This is a bug in rospy with remapping. Testing a fix now:

https://code.ros.org/trac/ros/ticket/2841#comment:1

- Ken

On Mon, Jun 28, 2010 at 1:13 PM, Advait Jain <> wrote:
> I have written a node that is modeled after point_cloud_converter to convert
> between two related types. Depending on the sequence in which I start my
> nodes, some of the message callbacks get called or are ignored.
>
> I have attached a (different but simple) python node that shows the problem.
>
> If I run:  python cyclic.py in:=in1
> followed by: python cyclic.py out:=in1 in:=out
> then both the callbacks get called.
>
> However, when I reverse the order in which I launch the nodes:
> python cyclic.py out:=in1 in:=out
>
> followed by: python cyclic.py in:=in1
> the callback in only the second node is called.
>
> What I am doing incorrectly? Is there some handshaking code that I am not
> using?
>
> Advait
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>