I have noticed that there is sim.getShapeBB which can provide the size of BBox. But how to get the frame of bounding box if i need to get position and orientation of BBox?
It's said that bounding box and the shape itself can have different reference frames https://manual.coppeliarobotics.com/en/ ... Frames.htm.
However, there are some object parameters such as sim.objfloatparam_objbbox_min_x seem relevant. Can I compute bbox frame from such parameters or is there any convenient APIs for it?
How to get the frame of object bounding box?
Re: How to get the frame of object bounding box?
Hello,
as of CoppeliaSim V4.6, you can't retrieve the pose of the bounding box of a shape. But, in CoppeliaSim V4.7, sim.getShapeBB will also return the relative pose of the bounding box (relative to the shape's pose).
CoppeliaSim V4.7 should be out within 1 week.
Cheers
as of CoppeliaSim V4.6, you can't retrieve the pose of the bounding box of a shape. But, in CoppeliaSim V4.7, sim.getShapeBB will also return the relative pose of the bounding box (relative to the shape's pose).
CoppeliaSim V4.7 should be out within 1 week.
Cheers
Re: How to get the frame of object bounding box?
Thank you for reply! I will waiting for new version then.coppelia wrote: 08 Jun 2024, 16:17 Hello,
as of CoppeliaSim V4.6, you can't retrieve the pose of the bounding box of a shape. But, in CoppeliaSim V4.7, sim.getShapeBB will also return the relative pose of the bounding box (relative to the shape's pose).
CoppeliaSim V4.7 should be out within 1 week.
Cheers