Files
Pick-And-Place-Simulation-P…/docs/KPI_DEFINITIONS.md
T

4.6 KiB

Key Performance Indicator (KPI) Definitions

Vision-Guided Robotic Pick-and-Place Simulation NVIDIA Omniverse™ / Isaac Sim™ Ecosystem


1. Overview & Objective

To benchmark the autonomous vision-guided manipulation system rigorously and quantitatively, a telemetry collection framework tracks ten standardized Key Performance Indicators (KPIs). The telemetry collector records both camera-derived estimates and simulation ground truth independently.


2. Mathematical Definitions of Metrics

2.1 Object Detection Accuracy (KPI_1)

  • Formula: \text{Accuracy}_{\text{det}} = \frac{N_{\text{correct\_detections}}}{N_{\text{total\_targets}}} \times 100\%
  • Description: A detection is evaluated as correct if the semantic segmentation mask overlaps with the ground-truth target mask with an Intersection-over-Union (IoU) \ge 0.70.
  • Unit: Percentage (%).

2.2 Position Estimation Error (KPI_2)

  • Formula: e_{\text{pos}} = \|p_{\text{estimated}} - p_{\text{ground\_truth}}\|_2 = \sqrt{(x_e - x_{gt})^2 + (y_e - y_{gt})^2 + (z_e - z_{gt})^2}
  • Description: Euclidean distance between estimated 3D object centroid (derived via depth back-projection) and ground-truth OpenUSD prim center of mass.
  • Unit: Millimeters (mm).

2.3 Orientation Estimation Error (KPI_3)

  • Formula: e_{\text{ori}} = |\theta_{\text{estimated}} - \theta_{\text{ground\_truth}}| \pmod \pi For full 3D rotation quaternions q_e, q_{gt}: \Delta \theta = 2 \arccos\left(|\langle q_e, q_{gt} \rangle|\right)
  • Description: Angular deviation between estimated object orientation (via PCA principal axis) and ground-truth orientation.
  • Unit: Degrees (°).

2.4 Grasp Success Rate (KPI_4)

  • Formula: \text{Rate}_{\text{grasp}} = \frac{N_{\text{successful\_grasps}}}{N_{\text{grasp\_attempts}}} \times 100\%
  • Description: A grasp is defined as successful if both gripper fingers make verified PhysX contact with the target object, and the object's relative displacement to the gripper remains < 5\text{ mm} upon lifting 10\text{ cm} above the shelf.
  • Unit: Percentage (%).

2.5 Pick Success Rate (KPI_5)

  • Formula: \text{Rate}_{\text{pick}} = \frac{N_{\text{successful\_picks}}}{N_{\text{pick\_attempts}}} \times 100\%
  • Description: Evaluated after the robot lifts the object from the source shelf and enters the transport phase without object slippage or drop.
  • Unit: Percentage (%).

2.6 Placement Success Rate (KPI_6)

  • Formula: \text{Rate}_{\text{place}} = \frac{N_{\text{successful\_placements}}}{N_{\text{placement\_attempts}}} \times 100\%
  • Description: A placement is evaluated as successful if:
    1. The object rests stably on the destination shelf surface within target bounds: \|p_{\text{final}} - p_{\text{target}}\| \le 30\text{ mm}.
    2. Final resting orientation deviation is \le 10^\circ.
    3. The robot has retracted without toppling or knocking over the object.
  • Unit: Percentage (%).

2.7 Average Task Completion Time (KPI_7)

  • Formula: \bar{T}_{\text{cycle}} = \frac{1}{M} \sum_{i=1}^M (t_{\text{retract\_end}, i} - t_{\text{perception\_start}, i})
  • Description: End-to-end wall-clock and simulation time required to detect, grasp, transport, correct orientation, and place an object.
  • Unit: Seconds (s).

2.8 Robot Trajectory Length (KPI_8)

  • Formula: L_{\text{traj}} = \sum_{k=1}^{K-1} \|p_{\text{ee}}(t_{k+1}) - p_{\text{ee}}(t_k)\|_2
  • Description: Total integrated path distance traversed by the Franka tool frame (panda_hand) in 3D Cartesian space throughout the manipulation cycle.
  • Unit: Meters (m).

2.9 Collision Count (KPI_9)

  • Formula: N_{\text{collisions}} = \sum_{k=1}^K \mathbb{I}(\text{Unplanned\_Contact}_k)
  • Description: Number of unexpected physical collisions between robot links, rack pillars, non-target shelves, or non-target objects.
  • Unit: Integer count.

2.10 Replanning Count & Failed Tasks (KPI_{10})

  • Formula: N_{\text{replans}} = \text{Count of trajectory recalculations triggered by obstacle obstruction or kinematic timeout} N_{\text{failed}} = N_{\text{attempts}} - N_{\text{successful\_placements}}
  • Description: Tracks system resilience and recovery overhead.
  • Unit: Integer count.

3. Data Storage Schema

Experiment metrics are saved in structured formats:

  • Per-trial JSON telemetry: metrics/experiments/trial_<timestamp>.json
  • Aggregate CSV summary: metrics/kpi_summary.csv
  • Strict separation is maintained between ground_truth and camera_estimates data keys.