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

adding objects to household database

asked 2012-04-03 10:11:37 -0500

andymcevoy gravatar image

I am trying to add a custom item to the household objects database and am trying to follow the suggestions made here:

post

my question is about using insert_model.cpp as suggested in the comments.

it seems to read the model data fine, but then tries to copy to one of Matei's directories... "/u/matei/data/household_objects/"

Anyone know how to fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-04-13 01:37:42 -0500

I found out that in the database there is a table called "variable" which has a key called "MODEL_ROOT" with the value "/u/matei/data/household_objects/". I'm using pgmin3 to edit it and here you have screenshot i.imgur.com/mP0qZUo.png

(Before getting to this error I needed to change in insert_model.cpp the line:

  household_objects_database::ObjectsDatabase database("**localhost**", "5432", "willow", "willow", "household_objects");
edit flag offensive delete link more

Comments

Yup - that is the right place!

Matei Ciocarlie gravatar image Matei Ciocarlie  ( 2013-04-17 13:36:17 -0500 )edit

Question Tools

Stats

Asked: 2012-04-03 10:11:37 -0500

Seen: 280 times

Last updated: Apr 13 '13