Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorials:advanced:unreal [2020/01/13 08:23] – [Prerequisites] adapted the launching procedure to the new launch files. hawkintutorials:advanced:unreal [2020/01/13 09:47] – [Usage and Code] added short file descriptions, updated launch procedure hawkin
Line 36: Line 36:
 To launch all the necessary components, simply execute:  To launch all the necessary components, simply execute: 
 <code lisp> <code lisp>
-CL-USER> (kvr::init-full-simulation '("ep1"))+CL-USER> (kvr::init-full-simulation :namedir '("ep1":urdf-new-kitchen? nil)
 </code> </code>
  
-This will create a lisp ros node, clean up the belief-state, load the episodes that get passed to the init function as a list of strings, e.g. in our case "ep1", spawn the semantic map of the episode and the items and initialize the location costmap. In the code section below it will be explained in more detail, what is loaded and when. This process may take a while, so please have some patience. When the function has finished running through your bullet world should look like this: +This will create a lisp ros node, clean up the belief-state, load the episodes that get passed to the init function as a list of strings in the ''namedir'' key parameter, e.g. in our case "ep1", spawn the semantic map of the episode and the items and initialize the location costmap. This process may take a while, so please have some patience. When the function has finished running through your bullet world should look like this: 
  
 Now, let's execute the pick and place plan: Now, let's execute the pick and place plan:
Line 53: Line 53:
  
 == mapping-urdf-semantic.lisp == == mapping-urdf-semantic.lisp ==
-Mapps the urdf kitchen to the semantic map, since they differ in how some furniture is organized and called. +Mapps the urdf kitchen (bullet world simulation environment) to the semantic map(virtual reality environment), since they differ in how some furniture is organized and called. Also maps the names of the objects the robot interacts with between the two environments.
  
 == init.lisp == == init.lisp ==
-TODO+Contains all the needed initialization functions for the simulation environment, episode loading and for the simulated or real robot. Also contains the ''*episode-path*'' variable which sets the location of the episode data.
  
 == queries.lisp == == queries.lisp ==
-TODO+Contains some query wrappers so that they can be called as lisp functions, and also includes the queries which read out the data from the database e.g. the poses of the object, hand and head of the actor in the virtual reality.
  
 == query-based-calculations.lisp == == query-based-calculations.lisp ==
-TODO+Includes all transformation calculations to make the poses of the robot relative to the respective object, and the poses of the objects relative to the surfaces. Mostly works on lazy-lists of poses.
  
 == designator-integration.lisp == == designator-integration.lisp ==
-TODO+Integrates the pose calculations from the query-based-calculations into location designators.
  
 == fetch-and-deliver-based-demo.lisp == == fetch-and-deliver-based-demo.lisp ==
-TODO+Sets up the plan for the demo with the respective action designator. Also includes logging functions. 
 + 
 +== debugging-utils.lisp == 
 +Contains a lot of debugging and helper functions which can also visualize all the calculated poses. 
 ==== Importing new episode data into MongoDB and KnowRob(Additional information) ==== ==== Importing new episode data into MongoDB and KnowRob(Additional information) ====
 In order for us to be able to query data for information, we first need to import that data into KnowRob and MongoDB. In order for us to be able to query data for information, we first need to import that data into KnowRob and MongoDB.