rdiankov / openrave

Open Robotics Automation Virtual Environment: An environment for testing, developing, and deploying robotics motion planning algorithms.
http://www.openrave.org
Other
693 stars 343 forks source link

Add new safety geometry types prisms and capsules #1402

Closed gywn closed 2 weeks ago

gywn commented 1 month ago

Introduce two new geometry types that embody the mathematical models used for calculating minimum distances in the realm of safety-functions-related collision checking:

  1. GT_Prism: Right prisms with arbitrary non-convex cross-section and finite height, which represent “walls” or “safe zones”. In the FCL plugin, the prism is modeled with an fcl::Container that consists of several inward-facing fcl::Halfspace. It uses _meshcollision to store its information, _meshcollision.vertices[2 * i].xy describes the arbitrary nonconvex cross section of the right prism. A copy of the height information is also stored in _vGeomData.y.

  2. GT_Capsule: Capsules, representing “robot model” or “gripper model”. It shares a similar data structure with cylinders.

The existing geometry types GT_Sphere and GT_Box can also be used as safety geometries.

gywn commented 1 month ago

@kanbouchou @snozawa

rdiankov commented 2 weeks ago

thanks~