| Term and Function Name | Input parameters | Residual definition |
| Target distance point_point_distance | Points a,b , target distance d | r=∣∥pa−pb∥2−d∣ . pa,pb : world-frame positions of points a,b ; d : target distance. |
| Relative position relative_position | Points a,b , desired world-frame offset Δ | r=∥pa−pb−Δ∥2 . pa,pb : world-frame positions of points a,b ; Δ : desired world-frame offset. |
| Axis alignment axis_parallel | Axes a,b , alignment direction η∈{−1,1} | r=arccos(ηva⊤vb) . va,vb : world-frame unit axes; η=1 : parallel, η=−1 : antiparallel. We clip the dot product to [−1,1] . Angles are in radians. |
| Target angle axis_angle | Axes a,b , target angle θ⋆ | r=∣arccos(va⊤vb)−θ⋆∣ . va,vb : world-frame unit axes; θ⋆ : target angle in radians. We clip the dot product to [−1,1] . |
| Directional gap signed_axis_gap | Points a,b , unit axis n , direction σ∈{−1,1} , minimum gap m | r=[m−σn⊤(pb−pa)]+ . pa,pb : world-frame positions of points a,b ; n : world-frame unit axis; σ : direction sign; m : minimum gap; [z]+=max(0,z) . |
| Minimum rotation rotation_progress | Object o , initial orientation R0 , unit axis n in the initial frame, minimum angle θmin | α=(R0n)⊤rotvec(RoR0⊤) , r=[θmin−α]+ . Ro,R0 : current and episode-start local-to-world orientations of object o ; n : initial-frame unit axis; rotvec : principal rotation vector. α : signed rotation along R0n ; θmin : minimum angle in radians; [z]+=max(0,z) . |