You are right.  I jumped the gun and didn't read the rest of your message.  <br><br>If it is loading in ipython, then it should work. <br><br>Anyway, I am not sure what the problem is right now.  Could you ask this question on <a href="http://answers.ros.org">answers.ros.org</a>.  We can debug this there without polluting people's inbox.<br>

<br>Regards,<br>Adam<br><br><div class="gmail_quote">On Thu, Aug 25, 2011 at 11:37 PM, brice rebsamen <span dir="ltr"><<a href="mailto:brice.rebsamen@gmail.com" target="_blank">brice.rebsamen@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi and thanks for the quick reply.<br>
I did rosmake lowlevel.<br>
I think a proof is that loading the package manually in ipython works.<br>
<div><div></div><div><br>
On Fri, Aug 26, 2011 at 11:25 AM, Adam Stambler <<a href="mailto:adasta@gmail.com" target="_blank">adasta@gmail.com</a>> wrote:<br>
> Hi Brice,<br>
><br>
> You still need to make your custom message package (rosmake lowlevel).  You<br>
> generated the Arduino code but you still need to make the message package in<br>
> order to build the python/cpp message code that the rest of ros uses.<br>
><br>
> In the future, please use <a href="http://answers.ros.org" target="_blank">answers.ros.org</a> for these kinds of questions.<br>
><br>
> Regards,<br>
> Adam<br>
><br>
> On Thu, Aug 25, 2011 at 11:21 PM, brice rebsamen <<a href="mailto:brice.rebsamen@gmail.com" target="_blank">brice.rebsamen@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi<br>
>><br>
>> I am trying to set an arduino node. Here is the short version of the<br>
>> story.<br>
>><br>
>> I defined a custom message ("lowlevel/Arduino") and generated the<br>
>> appropriate header using the script for that. The arduino code<br>
>> compiles alright. However, I am having a problem on the python_node<br>
>> side: it cannot load my package 'lowlevel':<br>
>><br>
>> [ERROR] [WallTime: 1314328569.317936] Cannot import package : lowlevel<br>
>> [ERROR] [WallTime: 1314328569.318390] Failed to parse subscriber.<br>
>><br>
>> However, if I run the following commands in ipython, it seems to work:<br>
>><br>
>> In [1]: import roslib; roslib.load_manifest("rosserial_python")<br>
>> In [2]: import rospy<br>
>> In [3]: roslib.load_manifest('lowlevel')<br>
>> In [4]: m=__import__('lowlevel.msg')<br>
>> In [5]: m.msg.Arduino<br>
>> Out[5]: <class 'lowlevel.msg._Arduino.Arduino'><br>
>><br>
>> What am I doing wrong?<br>
>><br>
>> Brice<br>
>> _______________________________________________<br>
>> ros-users mailing list<br>
>> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>