Glad to help!  I think that, although smach is a impressive library, the data passing mechanism could use some improvement. Please let me know if I can do anything else to help.

Lorenzo

On 30 July 2011 13:40, Jonathan Bohren <jonathan.bohren@gmail.com> wrote:
On Sat, Jul 30, 2011 at 7:30 AM, Lorenzo Riano <lorenzo.riano@gmail.com> wrote:
It is really too long to post it. A google search reports that the same problem happens in other packages when reimplementing the __getattr__ function.

I will try to reproduce it with a shorter code. The funny thing is that it depends on the length of the stack of the function calls: it shows up when the stack has length one, it doesn't when it's zero or two. The code works the same anyway, it's only that the message it quite annoying.

Yeah, it looks like something additional needs to be done in the smach UserData class to prevent this from happening. I'll look into it, don't worry about a minimal example.

Thanks for bringing this up!

-j

_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users




--
Lorenzo Riano, PhD
Research Associate
Intelligent Systems Research Centre
University of Ulster
Magee campus
Londonderry
BT48 7JL

phone: +44 (0)28 71375187
email: l.riano@ulster.ac.uk, lorenzo.riano@gmail.com
skype: lorenzo.riano

Webpage: http://isrc.ulster.ac.uk/Staff/LRiano/Contact.html