ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

A clear path to a simulated pr2 grasping demo?

asked 2011-07-18 07:54:16 -0600

seanarm gravatar image

updated 2014-01-28 17:10:03 -0600

ngrennan gravatar image

Hello,

I've been futzing with the pr2 pick-and-place demo(s) to no avail. There is more than one tutorial:

1) http://www.ros.org/wiki/pr2_pick_and_...
2) http://www.ros.org/wiki/pr2_simulator...

I've managed to whittle the errors yielded by running (1) down to the following:

" Database connection failed with error message: could not translate host name "wgs36" to address: Name or service not known

ObjectsDatabaseNode: failed to open model database on host wgs36, port 5432, user willow with password willow, database household_objects. Unable to do grasp planning on database recognized objects. Exiting. "

and...

" Error Loading Joint[r_gripper_r_screw_screw_joint] Error: [/tmp/buildd/ros-diamondback-simulator-gazebo-1.2.8/debian/ros-diamondback-simulator-gazebo/opt/ros/diamondback/stacks/simulator_gazebo/gazebo/build/gazebo/server/Model.cc:1278] /tmp/buildd/ros-diamondback-simulator-gazebo-1.2.8/debian/ros-diamondback-simulator-gazebo/opt/ros/diamondback/stacks/simulator_gazebo/gazebo/build/gazebo/server/Model.cc:923 : Exception: Uknown joint[screw] "

Has anyone had similar trouble with running the simulated version of these demos? Solutions? Is there a simpler starting point for testing out the object_manipulation stack?

Thanks, Sean

edit retag flag offensive close merge delete

Comments

I edited the post after hsiao's post because the first error was cut out due to some misplaced brackets. Any insight on the object database error?
seanarm gravatar image seanarm  ( 2011-07-18 16:10:35 -0600 )edit
I don't exactly know the proper method for "continuing a thread" in ROS Answers, as my next question pertains to the same subject. Both answers below are correct and have helped me thus far. Tutorial (1) runs without throwing errors, but it doesn't spawn a table or an object. Thoughts?
seanarm gravatar image seanarm  ( 2011-07-21 06:05:32 -0600 )edit
FYI, running (2) creates a table, object on the table, a PR2 without arms, and a bunch of TF_NAN_INPUT errors. I decided to stick with (1) going forward.
seanarm gravatar image seanarm  ( 2011-07-21 06:14:36 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-07-19 13:51:08 -0600

Matei Ciocarlie gravatar image

The first step will be to download and install the database locally on your computer. The tutorial is here:

http://www.ros.org/wiki/household_objects_database

There should also be an option to use the database remotely on a Willow Garage server, but unfortunately that is not working for diamondback at the moment...

After that, you would edit the pr2_tabletop_manipulation.launch file to match your local installation of the database, such as server address, user name, password, etc.

edit flag offensive delete link more

Comments

Thanks. I followed the instructions and was able to successfully connect to and access a local household_objects database.
seanarm gravatar image seanarm  ( 2011-07-21 05:51:19 -0600 )edit
1

answered 2011-07-18 15:46:06 -0600

hsiao gravatar image

The gripper screw joint was added about a month ago to unstable; you can check out gazebo from unstable now to get it, but I would advise waiting until electric is officially released a month from now if you're not in a hurry, since things are still changing pretty fast every day while the release is imminent.

edit flag offensive delete link more

Comments

Thanks. I found one of my packages was, indeed, a trunk version rather than a diamondback-tagged version.
seanarm gravatar image seanarm  ( 2011-07-21 05:50:42 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2011-07-18 07:54:16 -0600

Seen: 615 times

Last updated: Jul 19 '11