KCD: a Collision Detector for Path Planning in Factory Models.

Carl Van Geem, Thierry Siméon2001

TL;DR

This paper introduces KCD, a novel collision detection system specifically designed for path planning in complex, industrial-scale CAD models. KCD offers efficient and guaranteed collision-free path planning for articulated robots and mechanical devices by intelligently handling static and dynamic objects within these environments.

What Problem Does This Paper Address?

Robot path planning, especially in complex environments like factory floors represented by CAD models, critically relies on accurately detecting collisions between the robot and its surroundings. Existing collision detection methods often struggle with the sheer geometric complexity of these models, leading to slow performance or requiring significant simplification of the environment. Furthermore, path planning algorithms like Probabilistic Roadmaps (PRM) require numerous collision checks, making an efficient and robust collision detector essential for practical applications. The challenge lies in developing a system that can handle intricate CAD models, differentiate between static and moving objects, and provide useful feedback (like distance estimates) to the path planner, all while maintaining high performance.

Methods

KCD is presented as a hybrid collision checker that combines pre-selection and entity-focussing techniques with precise computation.

  • Hybrid Approach: It integrates pre-selection and entity-focussing strategies, similar to V-Collide, to efficiently narrow down potential collision pairs in complex scenes. For precise collision checking, it leverages techniques akin to SOLID, enabling it to process composite models made of concave polyhedra and volumetric primitives.
  • Object Typing: KCD distinguishes between "static obstacles" (fixed elements of the factory) and "moving objects" (links of an articulated robot or a payload). This allows for pre-processing of static environments, significantly speeding up queries.
  • Bounding Volume Hierarchies (BVHs):
    • AABBs (Axis-Aligned Bounding Boxes): Used for initial pre-selection of static objects. KCD automatically groups primitives into a hierarchy of AABBs, creating geometrically meaningful "KCD objects" to reduce the search space.
  • OBBs (Oriented Bounding Boxes): Binary OBB-trees are constructed for both static obstacles and moving objects. This allows for efficient spatial partitioning and narrowing down collision checks.
  • GJK Algorithm: For precise collision detection at the lowest level, KCD utilizes an enhanced GJK (Gilbert-Johnson-Keerthi) method, which is efficient for convex shapes. It can handle simple solids directly and convex facets without needing to approximate them with triangles.
  • Distance Estimation: Beyond a simple boolean collision/no-collision result, KCD can provide a distance estimate to the nearest obstacle when no collision is detected. This is crucial for path planners to ensure a safety margin and to potentially reduce the number of collision checks needed.
  • Detail Filtering: KCD allows for filtering out scene details deemed insignificant for path planning (based on volume or surface area thresholds) during initialization and even during queries, further optimizing performance.

Datasets

The paper evaluates KCD using three industrial scenes: "EDF," "Stabilizer," and "TPA." These scenes are described by their complexity in terms of the number of primitives, solids, polyhedra, static and moving objects. No new benchmarks were introduced; rather, these existing complex CAD models were used to demonstrate KCD's performance.

Key Insights and Ideas

  • Static vs. Dynamic Object Handling is Key: Differentiating between static and moving objects and pre-processing the static environment is a major performance booster for collision detection in CAD-based path planning.
  • Intelligent Grouping of Primitives: Automatically grouping primitives into meaningful "KCD objects" based on their spatial proximity and geometric relationships (rather than just by CAD object semantics) leads to more efficient BVH construction and pre-selection.
  • Distance Estimates are More Than Just Collision Flags: Providing distance information to path planners significantly improves efficiency by allowing for more conservative path validation and potentially fewer checks.
  • Filtering Unnecessary Detail is Practical: For path planning, not all geometric details are relevant. KCD's ability to filter these details at initialization and query time offers a practical way to speed up computation without sacrificing the guarantee of collision-free paths.

Key Results

The paper presents several quantitative results comparing KCD with V-Collide:

  • Path Verification (PRM): Using the "Stabilizer" model, KCD with dichotomy and distance estimation significantly reduced the number of collision checks (from 14039 to 1822) and computation time (from 118 seconds to 11 seconds) compared to V-Collide using stepwise boolean checks.
  • Static Collision Checking: KCD generally outperformed V-Collide in static collision checking. For instance, in the "Stabilizer" model, KCD (boolean) took 1.59 seconds per 1000 calls, while V-Collide took 4.87 seconds. KCD with distance estimation was even faster at 2.27 seconds.
  • Initialization Time and Memory: KCD invested more time in initialization but used significantly less memory (e.g., 44MB for KCD vs. 143MB for V-Collide in the TPA model).
  • Detail Filtering: Ignoring details (with v=1000) in the "Stabilizer" model reduced computation time from 2.11 seconds to 1.85 seconds for 1000 calls, with a slight increase in detected collisions due to approximation.
  • Safety Distance: KCD could incorporate a safety distance without a significant performance penalty, demonstrating its flexibility.

Limitations and Future Work

  • Limitations:
    • The paper notes that when KCD returns a distance estimate, it is a "conservative estimate."
    • While KCD handles concave polyhedra, the precise computation stage relies on the GJK algorithm, which is fundamentally for convex shapes. This implies that concave shapes are likely decomposed or handled through their convex hull approximations at the lowest level.
  • The paper mentions that KCD's precise computation stage acts on "solids and the facets of the polyhedra," while V-Collide acts on triangulated facets. This difference in how solids are treated can lead to performance variations.
  • Future Work:
    • The authors suggest that for future path planners, it would be beneficial if KCD could return a "penetration estimate" in case of collision, in addition to just a boolean result. This would provide more detailed information about the severity of a collision.

Summary updated

Abstract

A critical operation in robot path planning is the verification for collision between the robot and the obstacles in its environment. In this contribution we present a new collision detector KCD dedicated to path planning for mechanical devices and robots in industrial-size CAD models. We describe the architecture of KCD and the way in which it is applied in the path planning tool Move3D. We report on experimental results showing its performance. 1 Introduction A collision detection algorithm takes as input a soup of possibly moving objects and determines whether or not any of these objects clash. The algorithm may return a boolean result, the minimal distance between the nearest pair of objects, all pairs of colliding objects, or an estimation of penetration in case of collision. Applications may have to feed the algorithm with a particular format or may need particular feedback. Preconditions on the representation of objects can be exploited by an algorithm (e.g. if all objects are...
BibTeX
@misc{geem2001kcd,
  author = {Carl Van Geem and Thierry Siméon},
  title = {{KCD: a Collision Detector for Path Planning in Factory Models.}},
  year = {2001},
}
Figure