Ask Your Question
0

custom subset of the household objects database

asked 2011-06-02 04:44:29 -0500

Is it possible to use the household objects database with a custom objects set? What I mean is to use the same objects already in the database but instead of loading all of them to be able to specify which subset I want (by giving a list of model ids). Right now the only options that I know of are "REDUCED_MODEL_SET" and "" which gives me all the objects in the database

Here is an example of a part of a launch file where this is set.

  <include file="$(find tabletop_object_detector)/launch/tabletop_node.launch"/>
  <param name="/tabletop_node/use_database" value="true"/>
  <param name="/tabletop_node/model_set" value="REDUCED_MODEL_SET" />
  <param name="/tabletop_node/get_model_list_srv" value="/objects_database_node/get_model_list" />
  <param name="/tabletop_node/get_model_mesh_srv" value="/objects_database_node/get_model_mesh" />

  <node pkg="tabletop_collision_map_processing" name="tabletop_collision_map_processing"
        type="tabletop_collision_map_processing_node" respawn="false" output="screen"/>
  <param name="tabletop_collision_map_processing/get_model_mesh_srv"
         value="/objects_database_node/get_model_mesh" />
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-02 04:55:52 -0500

Ugo gravatar image

There's also the DEBUG_MODEL_SET with only a few models.

You're best bet (if you have write access to the database), would be to add your own model set. You just need to add the models number you want to the model_set table, associated with a model set name.

Hope this helps.

edit flag offensive delete link more

Comments

Thank you Ugo, but I am using the remote version of the database. I prefer not to have a local version of the database, unless I really really need to.
Dimitar Simeonov gravatar image Dimitar Simeonov  ( 2011-06-02 05:33:29 -0500 )edit
I guess the right thing would be do get a local version of the database and to modify the entry - however I decided to stick with the full database for now. Thanks
Dimitar Simeonov gravatar image Dimitar Simeonov  ( 2011-06-06 02:44:36 -0500 )edit
Ok, no worries. But you do know that setting up a local version of the database won't take you very long and is very straightforward?
Ugo gravatar image Ugo  ( 2011-06-06 02:48:15 -0500 )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

Stats

Asked: 2011-06-02 04:44:29 -0500

Seen: 276 times

Last updated: Jun 02 '11