Ask Your Question
0

Restoring household_objects_database

asked 2014-10-31 15:12:29 -0600

atp gravatar image

I'm trying to connect household_objects_database to object_recognition_kitchen in ROS Hydro. I'm following this tutorial ( http://wiki.ros.org/household_objects... ). I've tried to restore the database from several backup files, but it never works.

For example, household_objects-experimental.backup gives:

pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 430; 1247 26713 TYPE model_result willow
pg_restore: [archiver (db)] could not execute query: ERROR:  type "model_result" already exists
    Command was: CREATE TYPE model_result AS (
    f1 text,
    f2 text,
    f3 double precision,
    f4 double precision,
    f5 double precision
);
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-31 15:51:50 -0600

ahendrix gravatar image

This sounds more like a postgres question. Perhaps their documentation will be helpful? http://www.postgresql.org/docs/8.2/st...

edit flag offensive delete link more

Comments

I guess I restored it on one computer. How do I use the models now? The documentation seems to be brief ...

atp gravatar imageatp ( 2014-11-03 10:40:28 -0600 )edit

I can't really help you interpret the models. The best I can do is point you at the message documentation: http://docs.ros.org/groovy/api/object...

ahendrix gravatar imageahendrix ( 2014-11-03 12:43:15 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-10-31 15:12:29 -0600

Seen: 44 times

Last updated: Oct 31 '14