-
Notifications
You must be signed in to change notification settings - Fork 3
cram_beliefstate annotating parameters
Jan Winkler edited this page Feb 12, 2015
·
1 revision
To annotate custom parameters to the resulting .owl output of a logged CRAM plan execution, cram_beliefstate offers to calls:
-
annotate-parameter: This function takes two parameters; the first one is the symbol to use, the second is its value. Example:
(beliefstate:annotate-parameter 'tf-prefix "robot-1")
(beliefstate:annotate-parameter 'robot-name "Raphael")-
annotate-parameters: This basically takes a list of parameters and performsannotate-parameteron each of them. Example:
(beliefstate:annotate-parameters (list ('tf-prefix "robot-1")
('robot-name "Raphael")))In the resulting output OWL file, this will produce text similar to the following:
<owl:NamedIndividual rdf:about="...">
...
<knowrob:tf-prefix rdf:datatype="&xsd;string">robot-1</knowrob:tf-prefix>
<knowrob:robot-name rdf:datatype="&xsd;string">robot-1</knowrob:robot-name>
...
</owl:NamedIndividual>