Thanks for your answer. <br>While an option is to use the ROS Player driver, then I want to avoid it. I have already Player installed on my robot and had quite some problems with it, which is now solved, but it scared me from doing any changes to it, so I want to maintain the robot as it is.<br>
My idea is to have a second computer to process the algorithms, which communicates through Player on a local network to my robot. <br>I used the Publisher example from the tutorial to create a base to work with, if I add the following lines to my CMakeLists.txt: <br>
<br>include_directories(/usr/local/include/player-3.1)<br>link_directories(/usr/local/lib)<br><br>then I am able to compile the example including the header file of Player ( #include "libplayerc++/playerc++.h" ), but when I add Player functions, then rosmake returns that there are undefined references, which could indicate that I need a way of adding the library files into my CMakeLists.txt list. <br>
My problem is that I do not know how to add  .so-library files into CMakeLists.txt inorder to make the compiler able to use Player functions, I hope someone can help me resolving this problem. <br><br>Regards<br><br>Sebastian<br>
 <br>   <br><br><br><div class="gmail_quote">On 13 February 2011 01:14, Tully Foote <span dir="ltr"><<a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Sebastian, <br><br>You'll find that Player is already available in a ROS package.  See <a href="http://www.ros.org/wiki/player" target="_blank">http://include_directories(/usr/local/include/player-3.1)<br>link_directories(/usr/local/lib)<br>
www.ros.org/wiki/player</a>  There is an example of integration for the erratic at <a href="http://www.ros.org/wiki/erratic_player" target="_blank">http://www.ros.org/wiki/erratic_player</a><br>

<br>Tully<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sat, Feb 12, 2011 at 9:02 AM, Aslund <span dir="ltr"><<a href="mailto:sebastian.aslund@gmail.com" target="_blank">sebastian.aslund@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">

Hey everyone<br><br>I am starting a project aiming at creating a complete coverage path planning algorithm on a mobile robot, which I had previous experience with. Here I developed and implemented a localization algorithm using Player only, but the increased complexity involved in coverage path planning have made me interest in using ROS. <br>



While the tutorials gives an excellent overview, then I have not totally figured out how to add my external Player installation into ROS so I can create Nodes that takes advantages of the Player libraries. <br>It is properly a simple task, but I hope someone can take the time to explain how I solve my problem. <br>



I am using Player 3.0.2 with the newest version from SVN and the newest version of ROS from the repository on Ubuntu 10.10. The package have I created using roscreate-pkg with the basic dependencies described in the tutorial. <br>



<br>Regards<br><br>Sebastian Aslund<br><br>Master Student in Robotics<br>University of Southern Denmark   
<br></div></div>_______________________________________________<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></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com" target="_blank">tfoote@willowgarage.com</a><br>
(650) 475-2827<br>
</font><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>