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

Why I can't query subclass on knowrob?

asked 2013-12-16 19:56:16 -0600

sam gravatar image

I followed KnowRob basics.

I run:

sam@sam:~$  rosrun rosprolog rosprolog mod_vis
% library(swi_hooks) compiled into pce_swi_hooks 0.01 sec, 3,856 bytes
%     library(error) compiled into error 0.00 sec, 18,280 bytes
%    library(lists) compiled into lists 0.00 sec, 45,000 bytes
%   library(shlib) compiled into shlib 0.00 sec, 66,216 bytes
%   library(option) compiled into swi_option 0.00 sec, 15,576 bytes
%  library(process) compiled into process 0.00 sec, 99,464 bytes
% /opt/ros/groovy/stacks/knowrob/rosprolog/prolog/init.pl compiled 0.00 sec, 107,288 bytes
%    library(jpl) compiled into jpl 0.01 sec, 306,568 bytes
%        library(sgml) compiled into sgml 0.00 sec, 43,008 bytes
%          library(quintus) compiled into quintus 0.00 sec, 21,208 bytes
%         rewrite compiled into rewrite 0.00 sec, 34,568 bytes
%         library(uri) compiled into uri 0.00 sec, 14,648 bytes
%         library(record) compiled into record 0.00 sec, 35,128 bytes
%        rdf_parser compiled into rdf_parser 0.01 sec, 153,424 bytes
%         library(gensym) compiled into gensym 0.00 sec, 4,616 bytes
%        rdf_triple compiled into rdf_triple 0.00 sec, 38,688 bytes
%       library(rdf) compiled into rdf 0.02 sec, 269,384 bytes
%        library(debug) compiled into prolog_debug 0.00 sec, 22,112 bytes
%        library(assoc) compiled into assoc 0.00 sec, 35,904 bytes
%       library(sgml_write) compiled into sgml_write 0.00 sec, 121,240 bytes
%       library(nb_set) compiled into nb_set 0.00 sec, 6,200 bytes
%        library(utf8) compiled into utf8 0.00 sec, 13,824 bytes
%       library(url) compiled into url 0.01 sec, 114,840 bytes
%       rdf_cache compiled into rdf_cache 0.00 sec, 16,184 bytes
%      library(semweb/rdf_db) compiled into rdf_db 0.04 sec, 699,784 bytes
%     comp_similarity compiled into comp_similarity 0.05 sec, 727,888 bytes
%    /opt/ros/groovy/stacks/knowrob/ias_prolog_addons/prolog/init.pl compiled 0.05 sec, 728,880 bytes
%     library(broadcast) compiled into broadcast 0.00 sec, 7,520 bytes
%    library(semweb/rdf_edit) compiled into rdf_edit 0.00 sec, 86,640 bytes
%    library(semweb/rdfs) compiled into rdfs 0.00 sec, 25,928 bytes
%    library(semweb/owl) compiled into t20_owl 0.00 sec, 67,952 bytes
%      library(socket) compiled into socket 0.00 sec, 12,488 bytes
%      library(base64) compiled into base64 0.00 sec, 17,704 bytes
%     library(http/http_open.pl) compiled into http_open 0.02 sec, 104,200 bytes
%    library(thea/owl_parser) compiled into owl_parser 0.02 sec, 186,216 bytes
%     library(odbc) compiled into odbc 0.00 sec, 37,960 bytes
%    library(semweb/rdfs_computable) compiled into rdfs_computable 0.00 sec, 104,216 bytes
%   /opt/ros/groovy/stacks/knowrob/semweb/prolog/init.pl compiled 0.10 sec, 1,569,480 bytes
%       library(tf_prolog) compiled into tf_prolog 0.00 sec, 22,176 bytes
%      /opt/ros/groovy/stacks/knowrob/tf_prolog/prolog/init.pl compiled 0.00 sec, 25,392 bytes
%        library(crypt) compiled into crypt 0.00 sec, 3,312 bytes
%       library(knowrob_owl) compiled into knowrob_owl 0.00 sec, 28,608 bytes
%       library(knowrob_perception ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-12-16 20:03:55 -0600

moritz gravatar image

I see that you are using the .deb packages for KnowRob. As mentioned in the installation instruction [1], they seem to be broken, so I'd suggest to give a source installation a try. Just tested the query (up-to-date KnowRob from source on Groovy on Ubuntu 12.04) and it worked fine.

[1] http://www.knowrob.org/installation

edit flag offensive delete link more

Comments

I try https://github.com/knowrob/knowrob.git. But still the same problem. How to fix it?

sam gravatar image sam  ( 2013-12-19 02:20:20 -0600 )edit

My new knowrob path: ~/code/ros_groovy/src/knowrob

sam gravatar image sam  ( 2013-12-19 02:21:07 -0600 )edit

I download knowrob by: git clone https://github.com/knowrob/knowrob.git

sam gravatar image sam  ( 2013-12-19 02:22:19 -0600 )edit

Why I use another computer using deb package of knowrob works fine?

sam gravatar image sam  ( 2013-12-27 18:37:11 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-12-16 19:56:16 -0600

Seen: 166 times

Last updated: Dec 16 '13