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

household_objects_database returns 3: query error

asked 2011-02-28 20:03:59 -0600

moritz gravatar image

updated 2011-04-15 01:57:26 -0600

Hi,

after launching the remote client to the household objects database with

$ roslaunch household_objects_database objects_database_remote_client.launch

(which correctly remaps the services), queries to the database always return a result code 3 DATABASE_QUERY_ERROR, e.g. for the following queries on both cturtle and diamondback.

$ rosservice call /objects_database_node/get_model_list REDUCED_MODEL_SET

$ rosservice call /objects_database_node/get_model_mesh 18800

Has the service definition changed, or is the server down?

best, Moritz

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2011-03-02 00:08:28 -0600

moritz gravatar image

Hi,

the problem occurred when using the database hosted at Willow Garage, and got solved by Matei who re-started their server :)

Thanks anyway, Moritz

edit flag offensive delete link more

Comments

ok :) glad to hear you solved your problem
raphael favier gravatar image raphael favier  ( 2011-03-02 00:29:36 -0600 )edit
1

answered 2011-03-01 22:48:48 -0600

raphael favier gravatar image

updated 2011-03-01 22:50:59 -0600

Hello Moritz,

Did you follow these tutorials?

http://www.ros.org/wiki/sql_database/Tutorials/Installing%20a%20PostgreSQL%20Server

and

http://www.ros.org/wiki/household_objects_database/Tutorials/Install%20the%20household_objects%20database%20on%20your%20local%20database%20server

You should make sure that you can log in your database and that it is not empty using pgadmin3 on the computer where the database is installed.

Please, make sure that your my_server.yaml file contains the correct login information and that your launch file (objects_database_remote_client.launch) uses it.

You can make sure of the service definition by using rosservice:

$rosservice list
$rosservice type [SERVICE_NAME]
$rosservice info [SERVICE_NAME]

If it does not help, please send your launch file, yaml file, and a screenshot of your rxgraph.

Raph

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-02-28 20:03:59 -0600

Seen: 365 times

Last updated: Mar 02 '11