pybullet_planning.interfaces.robots.approximate_as_cylinder
-
pybullet_planning.interfaces.robots.approximate_as_cylinder(body, **kwargs)[source] get the bounding cylinder of the AABB bounding box of a body
Note: the generated AABB is not truly axis-aligned, bounding box under world axis x, y. Thus, the estimated diameter and height might not be accurate in the longitude axis aligning sense.
- Parameters
body (int) – [description]
- Returns
Point, tuple of (diameter, height) – [description]