Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:knowrob2_migration [2020/07/22 09:58] – sasjonge | doc:knowrob2_migration [2020/07/22 10:51] – [Migration of commonly used queries] sasjonge | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Migrating to KnowRob 2.0 ====== | ====== Migrating to KnowRob 2.0 ====== | ||
+ | |||
+ | **This page is a work in progress** | ||
The current master branch contains a redesign of KnowRob. The redesign changes the way how Knowrob has to be included into your project. Additionally some queries were replaced. | The current master branch contains a redesign of KnowRob. The redesign changes the way how Knowrob has to be included into your project. Additionally some queries were replaced. | ||
Line 7: | Line 9: | ||
===== Migration of commonly used queries ===== | ===== Migration of commonly used queries ===== | ||
+ | ^ Old query(s) | ||
+ | | <code prolog>? | ||
+ | ?- register_ros_package(knowrob_vis). | ||
+ | </ | ||
+ | ?- register_ros_package(knowrob). | ||
+ | </ | ||
+ | | <code prolog>? | ||
+ | ?- rdf_db: | ||
+ | yourontology, | ||
+ | </ | ||
+ | ?- tripledb_load(' | ||
+ | [ | ||
+ | | ||
+ | ]). | ||
+ | </ | ||
+ | | <code prolog>? | ||
+ | </ | ||
+ | ?- tripledb_load(' | ||
+ | </ |