When u do <div><br></div><div>'make clean' </div><div><br></div><div>in the package, it removes all the auto-generated stuff and only sources, .msg. .srv. manifest.xml and the cmake file remains. this is what I do for subversion purposes as I don't want to have the generated stuff under version control. <br>
<br></div><div>Billy</div><div><br><div class="gmail_quote">2010/8/12 Gonçalo Cabrita <span dir="ltr"><<a href="mailto:goncabrita@gmail.com">goncabrita@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks Ken, it worked!!<div><br></div><div>However Ugo's reply got me thinking...</div><div><br></div><div>So if I make a ROS pkg and want to share it with colleagues or online, is there any command I can run to "clean" the pkg, like "rosmake --pre-clean pkg-name" (I didn't try this yet)?</div>

<div><br></div><div>Thanks for the help guys,</div><div class="im"><div><br></div><div>Gonçalo Cabrita</div><div>ISR - University of Coimbra</div><div>Portugal</div></div><div><div></div><div class="h5"><div><br><br><div class="gmail_quote">
On Thu, Aug 12, 2010 at 5:57 PM, Ken Conley <span dir="ltr"><<a href="mailto:kwc@willowgarage.com" target="_blank">kwc@willowgarage.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You will need to delete src/ardusim/msg/*.py as well.<br>
<br>
I general, there are a lot of problems copying compiled code trees<br>
from one platform to another. In this case, there is the<br>
incompatibilities of:<br>
<br>
 * Mac->Ubuntu<br>
 * cturtle -> boxturtle<br>
<br>
Both of those are likely to cause problems.<br>
<br>
HTH,<br>
<div><div></div><div>Ken<br>
<br>
2010/8/12 Gonçalo Cabrita <<a href="mailto:goncabrita@gmail.com" target="_blank">goncabrita@gmail.com</a>>:<br>
> Thanks for your replies guys!<br>
><br>
> I'm pretty sure ROS_PACKAGE_PATH is set correctly. Ardusim was already in the Eee PC, I just deleted it and copied the new version from my computer. I deleted everything in the build folder and run rosmake ardusim. Everything went as usual. I also checked for the build msg line at the cmake file.<br>


><br>
> I've tried to delete everything and leave only the code inside src and the .msg files inside msg hoping there could be something that came from cturtle that is not allowing it to run in boxturtle, but still after everything compiles fine rostopic echo is not running.<br>


><br>
> I'll try recording some data with rosbag and write a small node to read the published topics. If the problem is just with rostopic echo I should be able to continue my work. On the other hand I must find out what's wrong or I wont be able to sleep tonight! :D<br>


><br>
> Gonçalo Cabrita<br>
> ISR - University of Coimbra<br>
> Portugal<br>
><br>
> On Aug 12, 2010, at 5:27 PM, Ken Conley wrote:<br>
><br>
>> This message usually occurs when rostopic cannot load<br>
>> ardusim/src/ardusim/msg/_TPA.py, which it needs to deserialize the<br>
>> messages it echos. The rest of the tests with type/show/etc... don't<br>
>> need the .py file, which is why they don't error.  I would attempt to<br>
>> rebuild the ardusim package and check for errors. I would also make<br>
>> sure that ardusim is on your ROS_PACKAGE_PATH.<br>
>><br>
>> - Ken<br>
>><br>
>> 2010/8/12 Gonçalo Cabrita <<a href="mailto:goncabrita@gmail.com" target="_blank">goncabrita@gmail.com</a>>:<br>
>>> Hi guys!<br>
>>><br>
>>> I have made an ROS node for reading sensors connected to an arduino. Along with the node I created some ROS msgs for the sensors. I compiled and tested everything on my MacBook running Ubuntu 10.04 with cturtle, however, when I copy the node to the robots (Eee PC also with Ubuntu 10.04 with boxturtle) I run into some problems.<br>


>>><br>
>>> Everything compiles fine, and the node runs just fine, however I cannot rostopic echo my custom msgs! It gives me this error:<br>
>>><br>
>>> error: cannot load message class for [ardusim/TPA]. Are you messages built?<br>
>>><br>
>>> The topics show up on rostopic list. I can run rostopic type and rosmsg show. I've also tried roswtf but everything seems fine.<br>
>>><br>
>>> What am I missing here? Could it have something to do with having cturtle on one computer and boxturtle on the other? The node was created on the MacBook with boxturtle previous to the cturtle update.<br>
>>><br>
>>> Thanks for the help,<br>
>>><br>
>>> Gonçalo Cabrita<br>
>>> ISR - University of Coimbra<br>
>>> Portugal<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>
>> 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>
> 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>
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></div>
</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">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></blockquote></div><br><br clear="all"><br>-- <br>___________________________________________<br>Best Regards,<br>Billy Okal.<br>"sure vi is user friendly, its just particular about who to be friends with"<br>

</div>