[Documentation] [TitleIndex] [WordIndex

Only released in EOL distros:  

knowrob: bosch_semantic_map | comp_cop | comp_germandeli | comp_orgprinciples | comp_spatial | comp_temporal | ias_knowledge_base | ias_prolog_addons | ias_semantic_map | jpl | json_prolog | knowrob_actions | knowrob_common | knowrob_objects | mod_probcog | mod_srdl | mod_vis | rosprolog | semweb | srldb | tf_prolog | thea

Package Summary

Interface between KnowRob and the CoP cognitive perception system that allows to query for objects to perceive and listens on the cop_answers topic for results, also for results of object perception triggered by someone else. The results are asserted in the knowledge base and made available for reasoning.

knowrob: bosch_semantic_map | comp_cop | comp_germandeli | comp_orgprinciples | comp_spatial | comp_temporal | ias_knowledge_base | ias_prolog_addons | ias_semantic_map | jpl | json_prolog | knowrob_actions | knowrob_cad_parser | knowrob_common | knowrob_objects | knowrob_omics | mod_probcog | mod_srdl | mod_vis | rosprolog | semweb | srldb | tf_prolog | thea

Package Summary

Interface between KnowRob and the CoP cognitive perception system that allows to query for objects to perceive and listens on the cop_answers topic for results, also for results of object perception triggered by someone else. The results are asserted in the knowledge base and made available for reasoning.

knowrob: comp_cop | comp_orgprinciples | comp_semantic_map | comp_spatial | comp_temporal | ias_knowledge_base | ias_prolog_addons | ias_semantic_map | jpl | json_prolog | knowrob_actions | knowrob_cad_parser | knowrob_common | knowrob_objects | knowrob_omics | mod_probcog | mod_srdl | mod_vis | rosprolog | semweb | srldb | tf_prolog | thea

Package Summary

Interface between KnowRob and the CoP cognitive perception system that allows to query for objects to perceive and listens on the cop_answers topic for results, also for results of object perception triggered by someone else. The results are asserted in the knowledge base and made available for reasoning.

knowrob: comp_cop | comp_orgprinciples | comp_semantic_map | comp_spatial | comp_temporal | ias_knowledge_base | ias_prolog_addons | ias_semantic_map | jpl | json_prolog | json_prolog_msgs | knowrob_actions | knowrob_cad_parser | knowrob_common | knowrob_objects | knowrob_omics | mod_probcog | mod_srdl | mod_vis | rosprolog | semweb | srldb | tf_prolog | thea

Package Summary

Interface between KnowRob and the CoP cognitive perception system that allows to query for objects to perceive and listens on the cop_answers topic for results, also for results of object perception triggered by someone else. The results are asserted in the knowledge base and made available for reasoning.

This package is not maintained any more and mainly provided as an example how perception systems can be interfaced. Please contact the stack maintainer if you plan to use it.

CopROSClient

Client that listens to CoP messages and asserts them in the KnowRob knowledge base

There are two kinds of relevant messages: Database updates and object detections. The first ones are important for the knowledge base to be aware of which objects can currently be recognized, the second ones for knowing which objects have been detected at which positions.

This node starts two threads that subscribe to the respective topics /knowrob/cop_db (for DB updates) and /kipla/cop_reply (for object detections, as triggered by kipla). Two separate worker threads read the objects and create the respective structures in the knowledge base.

The following commands launch KnowRob and start the CoP listener. You will get a list of models printed to the console (the current state of the CoP database) after calling the cop_listener(_) predicate.

 rosrun rosprolog rosprolog comp_cop
 comp_cop:cop_listener(_).

Adding mappings from Cop to KnowRob identifiers

These mappings are defined in the file comp_cop/prolog/comp_cop.pl in the form

 cop_to_knowrob('placemat', 'http://ias.cs.tum.edu/kb/knowrob.owl#PlaceMat').

You can simply add new lines here and the system will know them after restarting comp_cop.

BarcodeWebLookup

The comp_cop package also provides a node for looking up a barcode on the web, which is important to interpret the result of the CoP barcode detection.

Given an EAN number (as string), the node queries upcdatabase.com for a description of the object, parses the returned HTML and returns the object class label as the result.

 rosrun comp_cop BarcodeWebLookup
 rosservice call /barcode_web_lookup '!!str 40084015'


2024-02-24 12:30