Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
doc:writing_an_interface_to_your_perception_system [2014/11/27 14:38] – [KnowRob integration] admin | doc:writing_an_interface_to_your_perception_system [2014/11/27 14:52] – [KnowRob integration] admin | ||
---|---|---|---|
Line 109: | Line 109: | ||
</ | </ | ||
- | To start a rosjava node from KnowRob, you first need to instantiate the class containing the node definition, create an array with the fully-qualified class name, and pass it to | + | To start a rosjava node from KnowRob, you first need to instantiate the class containing the node definition, create an array with the fully-qualified class name, and pass it to the '' |
- | + | ||
- | If the dummy publisher | + | |
<code prolog> | <code prolog> | ||
?- obj_detections_listener(L). | ?- obj_detections_listener(L). | ||
- | L = @'J#00000000000173056232'. | + | L = @'J#00000000000034668496' |
- | Attaching 0x8afd1010 | + | % ... several rosjava INFO messages ... |
% wait for a few seconds... | % wait for a few seconds... | ||
?- owl_individual_of(A, | ?- owl_individual_of(A, | ||
- | A = ' | + | A = knowrob:' |
- | A = ' | + | A = knowrob:' |
- | A = 'http:// | + | A = knowrob:' |
+ | A = knowrob:' | ||
- | ?- current_object_pose(' | + | ?- current_object_pose(knowrob:' |
P = [1.0, | P = [1.0, | ||
</ | </ |