Skip to content

Commit de579c1

Browse files
author
Shushman Choudhury
committed
Last minor changes for merge
1 parent 71dc8cd commit de579c1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/prpy/perception/apriltags.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def DetectObjects(self, env, object_names, **kw_args):
6464
"""
6565
This hack detects only the objects in object_names. Updates existing
6666
objects, but only adds objects in the object_names list.
67+
68+
@param env: The current OpenRAVE environment
69+
@param object_names: The list of names of objects to detect
6770
"""
6871
added_kinbodies, updated_kinbodies = self._DetectObjects(env, **kw_args);
6972
detected = [];
@@ -86,6 +89,15 @@ def _DetectObjects(self, env, marker_topic, marker_data_path, kinbody_path,
8689
"""
8790
Use the apriltags service to detect objects and add them to the
8891
environment. Params are as in __init__.
92+
93+
@param env: The current OpenRAVE environment
94+
@param marker_topic The ROS topic to read markers from. Typically the output topic for April Tags
95+
@param marker_data_path The json file where the association between tag and object is stored
96+
@param kinbody_path The path to the folder where kinbodies are stored
97+
@param detection_frame The TF frame of the camera
98+
@param destination_frame The desired world TF frame
99+
100+
@return The list of kinbodies associated with the detected apriltags
89101
"""
90102
try:
91103
# Allow caller to override any of the initial parameters

0 commit comments

Comments
 (0)