Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
doc:exchanging_information_via_roboearth [2013/04/22 08:40] – created admin | doc:exchanging_information_via_roboearth [2014/08/08 10:05] – [Exchange information via RoboEarth] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Exchange information via RoboEarth ====== | ====== Exchange information via RoboEarth ====== | ||
+ | |||
+ | \\ | ||
+ | ** Note: The [[http:// | ||
+ | \\ | ||
This tutorial lists some example queries for interacting with the RoboEarth web-based robot knowledge base. To learn more about RoboEarth, have a look at the project [[http:// | This tutorial lists some example queries for interacting with the RoboEarth web-based robot knowledge base. To learn more about RoboEarth, have a look at the project [[http:// | ||
Line 40: | Line 44: | ||
===== Environment 1 -- PR2 robot ===== | ===== Environment 1 -- PR2 robot ===== | ||
Download recipe and generate CPL plan (also downloads models for all objects the recipe refers to) | Download recipe and generate CPL plan (also downloads models for all objects the recipe refers to) | ||
- | | + | re_download_action_recipe(' |
- | re_download_action_recipe(' | + | re_generate_cpl_plan(Recipe, |
- | | + | planvis_load(Recipe, |
- | | + | |
- | </ | + | |
Request environment maps (also downloads models for all objects in the map) | Request environment maps (also downloads models for all objects in the map) | ||
- | < | + | |
- | | + | re_request_map_for([[' |
- | [[' | + | |
- | | + | owl_individual_of(Map, |
- | | + | add_object_with_children(Map, |
- | </ | + | |
Find out where the bottle is (the plan does not say that it's inside the cabinet). Here: use computables to determine that it is inside the cabinet: | Find out where the bottle is (the plan does not say that it's inside the cabinet). Here: use computables to determine that it is inside the cabinet: | ||
- | < | + | |
- | rdf_triple(knowrob: | + | owl_individual_of(C, |
- | | + | |
- | </ | + | |
Perform the task... | Perform the task... |