Hi Matei,<br><br>When I run<br>roslaunch pr2_tabletop_manipulation_launch 
pr2_tabletop_manipulation.launch<br><br>even though I changed the use_database parameter to false, this error still pops up each time during the launch.<br><br>[ERROR] [674.702000000]: Database connection failed with error message: could not translate host name "wgs36" to address: Name or service not known<br>
<br>[ERROR] [674.702000000]: Failed to open model database on host wgs36, port 5432, user willow with password willow, database models<br>[FATAL] [674.702000000]: BREAKPOINT HIT<br>    file = /home/aleeper/ros/overlays/tabletop_object_perception/tabletop_collision_map_processing/nodes/tabletop_collision_map_processing_node.cpp<br>
    line=173<br><br>[tabletop_collision_map_processing-36] process has died [pid 31557, exit code -5].<br>log files: /home/aleeper/.ros/log/9acfc274-905b-11df-8f09-002354971365/tabletop_collision_map_processing-36*.log<br>
<br><br><br><br>And a result, when I try to run the pick_and_place keyboard demo it gets stuck here:<br><br>[ INFO] [713.141000000]: waitForService: Service [/tabletop_collision_map_processing/tabletop_collision_map_processing] has not been advertised, waiting...<br>
<br><br>Do some of the other nodes also need to know that the database is not being used?<br><br>Thanks,<br>Adam<br><br><br><br><br clear="all">Adam Leeper<br>Stanford University<br><a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>
719.358.3804<br>
<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 3:52 PM, Matei Ciocarlie <span dir="ltr"><<a href="mailto:matei@willowgarage.com">matei@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;">
Added some fixes to trunk. Thanks for the feedback, it is really<br>
useful as we prepare the (hopefully) stable 0.2 release.<br>
<br>
Adam: there is now a parameter in pr2_tabletop_manipulation.launch:<br>
when starting the tabletop_object_detector node, set use_database to<br>
false and nobody should ever complain about a missing database<br>
connection.<br>
<br>
Hao: the problem you were having was actually a fairly deep bug,<br>
should be resolved now..<br>
<font color="#888888"><br>
Matei<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jul 14, 2010 at 9:28 AM, Matei Ciocarlie <<a href="mailto:matei@willowgarage.com">matei@willowgarage.com</a>> wrote:<br>
> In order to use the database of models, and thus attempt object<br>
> recognition and execution of precomputed grasps, you need access to a<br>
> database server. Our server at Willow is currently behind the<br>
> firewall, which is why you can not connect to it. We are hoping to fix<br>
> this next week, along with 0.2 release.<br>
><br>
> For now, there are two options:<br>
> 1)  you can install the database on one of your local machines (or<br>
> even on the robot itself). You can find instructions for installing a<br>
> PostgreSQL server on a ubuntu machine here:<br>
><br>
> <a href="http://www.ros.org/wiki/icra_manipulation_demo/Tutorials/Install%20the%20model%20database%20server%20on%20a%20new%20robot" target="_blank">http://www.ros.org/wiki/icra_manipulation_demo/Tutorials/Install%20the%20model%20database%20server%20on%20a%20new%20robot</a><br>

><br>
> after you are done with the installation of the server, let me know<br>
> and I will provide the database backup file.<br>
><br>
> 2) do not perform object recognition and grasp objects as unknown<br>
> point clusters. I need to put in a flag somewhere in the detection<br>
> code so that if the database is not present, it will just default to<br>
> this other option instead of crashing. I will do that later today.<br>
><br>
> Matei<br>
><br>
> On Wed, Jul 14, 2010 at 9:04 AM, Adam Leeper <<a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a>> wrote:<br>
>> I tried this and got these errors. Am I missing some files you have there<br>
>> locally?<br>
>> process[tabletop_node-35]: started with pid [8301]<br>
>> [ERROR] [WallTime: 1279072996.735706295]: Database connection failed with<br>
>> error message: could not connect to server: Connection refused<br>
>> Is the server running on host "localhost" and accepting<br>
>> TCP/IP connections on port 5432?<br>
>> could not connect to server: Connection refused<br>
>> Is the server running on host "localhost" and accepting<br>
>> TCP/IP connections on port 5432?<br>
>> [ERROR] [69.915000000]: Failed to open model database on host localhost,<br>
>> port 5432, user willow with password willow, database models<br>
>> [FATAL] [69.915000000]: BREAKPOINT HIT<br>
>> file =<br>
>> /home/aleeper/ros/overlays/tabletop_object_perception/tabletop_object_detector/src/tabletop_node.cpp<br>
>> line=241<br>
>> [tabletop_node-35] process has died [pid 8301, exit code -5].<br>
>><br>
>><br>
>> Adam Leeper<br>
>> Stanford University<br>
>> <a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>
>> 719.358.3804<br>
>><br>
>><br>
>> On Mon, Jul 12, 2010 at 10:28 AM, Matei Ciocarlie <<a href="mailto:matei@willowgarage.com">matei@willowgarage.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Adam,<br>
>>><br>
>>> The entire grasping pipeline has undergone significant rewriting in<br>
>>> preparation for release. We are hoping to do an 0.2 release of it at<br>
>>> the end of this week, complete with documentation, a stable API, etc.<br>
>>><br>
>>> In the meantime, if you wanted to be an "early adopter" and check out<br>
>>> the 0.1 version that would be great, as your feedback would help us<br>
>>> for 0.2. You can get the most up to date version using the following<br>
>>> .rosinstall overlay file:<br>
>>><br>
>>><br>
>>> <a href="https://code.ros.org/svn/wg-ros-pkg/trunk/rosinstall_files/cturtle/pr2_manipulation-cturtle-pr2all-overlay-devel.rosinstall" target="_blank">https://code.ros.org/svn/wg-ros-pkg/trunk/rosinstall_files/cturtle/pr2_manipulation-cturtle-pr2all-overlay-devel.rosinstall</a><br>

>>><br>
>>> To use an overlay file, you would first do a normal ROS insallation<br>
>>> (of cturtle in this case), then use the overlay file like this:<br>
>>><br>
>>> rosinstall target_directory overlay_file_path<br>
>>><br>
>>> And be sure to prepend the target directory to your ROS_PACKAGE_PATH<br>
>>><br>
>>> To start the manipulation pipeline, use<br>
>>><br>
>>> roslaunch pr2_tabletop_manipulation_launch<br>
>>> pr2_tabletop_manipulation.launch<br>
>>><br>
>>> There is no documentation on the wiki yet (we are writing it this<br>
>>> week) but the code itself is well documented. You can get an idea of<br>
>>> how to run it bu looking in the package pr2_pick_and_place_demos,<br>
>>> which contains both Python and C++ examples.<br>
>>><br>
>>> Let me know if you have any questions, we'll be glad to assist you.<br>
>>><br>
>>> Matei<br>
>>><br>
>>> On Sat, Jul 10, 2010 at 2:24 PM, Adam Leeper <<a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a>> wrote:<br>
>>> > Hi-<br>
>>> > I was trying to follow this tutorial to grab things in<br>
>>> ><br>
>>> > simulation: <a href="http://www.ros.org/wiki/arm_navigation/Tutorials/Running%20the%20object%20pickup%20pipeline" target="_blank">http://www.ros.org/wiki/arm_navigation/Tutorials/Running%20the%20object%20pickup%20pipeline</a><br>

>>> > but it seems the names of the packages have changed (I realize that<br>
>>> > tutorial<br>
>>> > was last edited February 4th...). Anyway, I found the pr2_arm_navigation<br>
>>> > stack but can't seem to find anything directly related to what is<br>
>>> > referenced<br>
>>> > in the tutorial.<br>
>>> > I realize the whole stack is probably still going through a lot of<br>
>>> > changes,<br>
>>> > but do the launch files from that tutorial still exist in some form?<br>
>>> > What is<br>
>>> > the "easy" way of trying out some basic grasping?<br>
>>> > Thanks,<br>
>>> > Adam<br>
>>> ><br>
>>> ><br>
>>> > Adam Leepercoffee<br>
>>> > Stanford University<br>
>>> > <a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>
>>> > 719.358.3804<br>
>>> ><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>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Matei Ciocarlie<br>
>>> Research Scientist<br>
>>> Willow Garage Inc.<br>
>>> 650-475-9780<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>
>><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>
>><br>
><br>
><br>
><br>
> --<br>
> Matei Ciocarlie<br>
> Research Scientist<br>
> Willow Garage Inc.<br>
> 650-475-9780<br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Matei Ciocarlie<br>
Research Scientist<br>
Willow Garage Inc.<br>
650-475-9780<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>
</div></div></blockquote></div><br>