Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:exchanging_information_via_roboearth [2013/04/22 08:40] – created admin | doc:exchanging_information_via_roboearth [2014/08/08 10:06] (current) – [Scenario] 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 10: | Line 14: | ||
===== Scenario | ===== Scenario | ||
- | The demonstrated scenario is the following, also described in this [[https://ias.cs.tum.edu/_media/spezial/ | + | The demonstrated scenario is the following, also described in this [[http://knowrob.org/ |
Robot 2, an Amigo robot, later performs the same task in a different environment. Since it has access to the updated object model, it can use the information about the articulation properties to open the cabinet door and take out the bottle. | Robot 2, an Amigo robot, later performs the same task in a different environment. Since it has access to the updated object model, it can use the information about the articulation properties to open the cabinet door and take out the bottle. | ||
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... |