[ros-users] Node launching sequence affecting message callbacks

Ken Conley kwc at willowgarage.com
Tue Jun 29 00:24:13 UTC 2010


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 <advait at cc.gatech.edu> 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
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>



More information about the ros-users mailing list