Research
Close&Safe: Maximal Task Preservation for Redundant Manipulators via C-Space Boundary Detour
Many manipulation tasks are specified as a continuous end-effector path rather than a target pose: departing from that path has task-level consequences, such as an uncleaned strip or a displaced weld…
- arXiv
- 2611.26031 · Preprint · not peer-reviewed
- Published
- 2026-11-19
- Authors
- Abhigyan Singh, Manthan Goyal, Fares Abu-Dakka, Ravi Prakash
In plain words
Many manipulation tasks are specified as a continuous end-effector path rather than a target pose: departing from that path has task-level consequences, such as an uncleaned strip or a displaced weld seam.
AI summary
Overview
Research area: Robotics — motion planning and redundancy resolution for redundant manipulators executing prescribed Cartesian trajectories (contact-rich tasks such as wiping, polishing, welding and scanning).
Technical level: Intermediate. The paper assumes familiarity with configuration space, forward/inverse kinematics, null-space redundancy resolution and sampling-based roadmaps, but the core argument is stated in plain behavioral terms (follow the reference, detour around the obstacle, rejoin as early as possible).
Scope in one sentence: The paper proposes Close&Safe, a two-layer method that executes a given nominal end-effector trajectory exactly wherever a redundant 7-DOF manipulator can still do so collision-free, and otherwise repairs only the blocked interval with a minimum-deviation detour found by searching a roadmap of the configuration-space obstacle boundary.
What This Paper Is About
Many manipulation tasks are specified as a continuous end-effector path rather than a target pose: departing from that path has task-level consequences, such as an uncleaned strip or a displaced weld seam. When an obstacle that was not in the planning model intersects part of that path, conventional planners can return a collision-free path that differs from the nominal everywhere, discarding portions of the trajectory that were never obstructed at all. Close&Safe instead treats the nominal as a specification to be preserved, modifying it only over the segment where no collision-free redundant configuration exists, and minimizing the deviation incurred there.
Key Contributions
-
A lexicographically ordered formulation of "maximal task preservation." Feasibility comes first, then maximizing the preserved fraction of the nominal path, then minimizing joint-space excursion and task-space deviation. Interference is classified as reducible (some configuration satisfies the pose and is collision-free, so null-space motion absorbs it with zero task deviation) or irreducible; the test is an emptiness check on the feasible self-motion set, not a tunable margin.
-
A minimum-deviation detour confined to the blocked segment. The method isolates the maximal contiguous infeasible interval, samples Sobol points in an anisotropic corridor around it, retains only those in a thin shell near the configuration-space obstacle boundary, connects them into a k-NN roadmap, and runs A* between the entry and exit configurations. Because the circumnavigation direction comes from global comparison across the sampled boundary rather than greedy tracing, concave and multiply-connected geometry needs no special treatment, and segments never in collision are never discarded.
-
An evaluation against four baselines on four simulated Franka scenarios, scored by task preservation (the fraction of the nominal path executed within tolerance). Among methods collision-free throughout, Close&Safe attains the highest preservation in all three cleaning cases, averaging 59.5% against 45.6%, with clearance held within a 4.5 mm band.
-
Hardware validation on two tasks with demonstration-derived nominal trajectories: a cleaning task with a jug and a mannequin arm in the path, and a scanning task interrupted by a raised mannequin arm.
Main Findings
- Full path traversal where every baseline fails at least once: Close&Safe is the only method that traverses the full nominal path in all four simulated scenarios. The sampling-based controller never passes s ≈ 0.39 in any scenario, and the QP controller does not pass s ≈ 0.35 in any cleaning scenario.
- Case 1 (cleaning, vase): Close&Safe 68.4% preservation at +17.6 mm clearance; CollisionIK 65.0% at +24.1 mm; TrajOpt 54.4% at +6.0 mm; Neural-JSDF (MPPI) 35.6% at +3.5 mm, halting at s = 0.36; Neural-JSDF (QP-IK) 19.0% but at −27.5 mm, violating the collision constraint.
- Case 2 (cleaning, static arm): Close&Safe 57.8% at +13.1 mm; CollisionIK falls to 22.4% while holding +61.3 mm — a safe configuration far from the obstacle, retained with no horizon over which to trade; TrajOpt reports 35.0% but penetrates to −55.4 mm; both learned-field controllers halt below s = 0.25.
- Case 3 (cleaning, vase + arm): Close&Safe 52.4% at +14.1 mm and CollisionIK 49.4% at +31.2 mm are the only two methods to recover stroke beyond the obstruction; TrajOpt penetrates to −107.0 mm.
- Case 4 (spray painting, wall) establishes a task ceiling: four of five methods land between 75.0% and 76.4%, a spread of only 1.4 points, indicating roughly a quarter of the stroke is unreachable regardless of method. Close&Safe reaches 75.0% while holding +13.7 mm clearance, so reaching the ceiling does not cost margin.
- Clearance consistency as a discriminator: clearance spans 4.5 mm across all four scenarios for Close&Safe, against 58.9 mm for CollisionIK and 113.0 mm for TrajOpt. The margin is the specified d_safe produced by outward projection, not a value emerging from tuning.
- Easy-versus-hard gap widens against the closest competitor: CollisionIK averages 70.1% against 71.7% on the two easy scenarios, but 35.9% against 55.1% on the two hard ones — a margin that widens from 1.6 to 19.2 points.
- Three distinct baseline failure modes, none a tuning artifact (all baselines were tuned per scenario with Optuna, 30 trials per method-scenario pair, while Close&Safe parameters were held fixed): halting at a concavity gives low preservation at small positive clearance (both learned-field controllers); over-avoidance gives low preservation at large positive clearance (CollisionIK in Cases 2 and 3); constraint violation gives high apparent preservation at negative clearance (TrajOpt in the same cases).
- Hardware results: 73% task preservation on the cleaning task with two obstructions from opposite sides (the jug handled by a null-space elbow motion leaving the end effector unaffected, the arm requiring a boundary detour), and 78% on the scanning task, where the motion passes around a raised arm rather than stalling in the pocket between head and arm. The largest excursion of the tasks coincides with the highest preservation, since what is lost is the untrackable portion of the nominal, not the distance travelled to clear the obstacle.
- Ablation on 800 narrow-passage problems from MotionBenchMaker (swivel layer disabled, straight C-space line as initial trajectory): repair success rises from 87.0% at 1,000 Sobol seeds to 100.0% at the adopted 100,000 seeds, at median 30.9 ms and mean 36.0 ms. The 100,000-seed setting costs about 4× the latency of the 5,000-seed setting (median 5.8 ms, mean 9.8 ms).
- Robustness to the sampling stream: over 50 pseudo-random re-draws on 16 problems, the 100,000-seed setting gives 100.00% ± 0.00% pass rate (min/max 100.0%/100.0%) and median 37.1 ± 6.1 ms, versus 98.62% ± 2.59% (min 93.75%, max 100.0%) and median 8.5 ± 1.9 ms at 10,000 seeds — the larger budget eliminates variance, not bias. Re-enabling the swivel stage retains 100% success at approximately 40 ms median latency.
Methodology in Plain English
The method works in two layers that mirror the two possible kinds of obstacle interference.
Layer one — bend the elbow, not the tool. The robot has seven joints but the tool has only six degrees of freedom to place, so one degree of freedom is spare. The authors parameterize that spare freedom by an elbow swivel angle and, using prior work, run dynamic programming over candidate swivel angles along the whole nominal path, with infinite cost at collisions. Wherever this succeeds, the tool follows the nominal exactly and the obstacle is avoided purely by reconfiguring the redundant joints — no task deviation at all.
Layer two — repair only the blocked stretch. When even the spare freedom cannot help, the method finds the contiguous stretch of the path where no collision-free configuration exists. It then builds a bounded corridor in joint space around the entry and exit configurations, generating low-discrepancy Sobol samples, and keeps only those lying within a thin shell around the obstacle's configuration-space boundary — the surface the robot must hug to get around. Samples outside joint limits are discarded, so every roadmap node is admissible. A k-nearest-neighbor roadmap is built with an edge-length cap that prevents edges from spanning the obstacle from one side to the other, and A* searches it, with an edge cost combining weighted joint distance, distance of the end effector from the nearest point on the nominal path, and a penalty for clearance below the safety margin. Nodes found slightly inside the obstacle are pushed outward along the gradient of the signed distance until clearance is met, with the correction clamped to joint limits so clearance is never bought with a limit violation. Edges are then validated by recursive bisection, projecting and checking at each split, so continuous collision-freedom between waypoints is guaranteed.
Splicing and timing. The verified detour replaces the infeasible interval directly. The resulting trajectory is arc-length parameterized and fitted per joint with monotonic Piecewise Cubic Hermite Interpolating Polynomials, which cannot overshoot between validated knots and therefore cannot reintroduce collisions, followed by a quintic minimum-jerk time profile whose total duration is the smallest satisfying joint velocity and acceleration limits.
Evaluation setup. All simulation runs use a 7-DOF Franka, a table-wiping stroke of 111.4 cm for the three cleaning scenarios and a wall-spraying stroke of 120.4 cm for the fourth, sampled at M = 500 checkpoints and counted as achieved within 5 mm and 5 degrees. Four baselines span the families of prior work: TrajOpt for whole-horizon trajectory optimization, CollisionIK and the Neural-JSDF quadratic-program controller for per-instant inverse kinematics, and Neural-JSDF's sampling-based model-predictive controller for reactive avoidance. On hardware, nominal trajectories are recorded by kinesthetic demonstration and executed against obstacles perceived by a RealSense D435i and held stationary; the human figure is a mannequin posed once and held fixed. The repair runs at 25 Hz.
Why This Matters
The paper reframes obstacle avoidance for prescribed-trajectory tasks as an ordering problem rather than a weighting problem: safety and task preservation are separated into layers instead of traded off by a gain or a penalty term. Because the classification of interference is a feasibility test rather than a threshold comparison, the decision to modify the task carries no quantity to tune, which matters for deployment where per-scene retuning of trajectory-optimization weights is impractical. The boundary-roadmap approach also shows that the classical Bug-algorithm behavior — follow, detour, rejoin — can survive the move to seven dimensions, where the obstacle boundary is not a curve and cannot be followed by contact sensing.
Real-world applications:
- Surface cleaning, wiping and polishing, where coverage is the task specification and a rerouted motion leaves an uncleaned region — the paper's own simulated and hardware cleaning scenarios.
- Welding and seam tracking, where a displaced path produces a seam defect rather than a mere inefficiency.
- Surface inspection and scanning, where departing from the nominal sweep leaves gaps in the coverage map.
- Human-shared workspaces, where a person or a second arm that was absent at planning time intrudes on part of a demonstrated stroke and the remainder of the stroke should still be executed as taught.
Industry relevance: the method preserves demonstration-taught programs without full replanning, holds a specified safety margin deterministically rather than through tuner-dependent tradeoffs, and runs at a latency (median around 31 ms at the adopted seed count in the isolated ablation, about 40 ms with the swivel layer re-enabled) that the authors argue fits a control budget.
Future Directions
- Preservation of the velocity profile, not just the spatial path. The authors note that preservation is currently spatial only: the repaired path is re-timed under a minimum-jerk profile, so velocities and accelerations follow from actuation limits rather than from the demonstration. Extending both the metric and the repair to the velocity profile would close that gap.
- Planning-time efficiency. Planning time is dominated by samples that the boundary-shell filter discards, which the authors flag as remaining empirical.
- Removing the remaining hand-set quantities. The projection distance is currently fixed from trials, and the shell acceptance tolerance, neighbors per node and per-joint corridor margins are set as fixed hyperparameters (35 mm, k = 14, and margins of [1.45, 0.90, 0.75, 1.10, 0.40, 0.85, 0.40] rad respectively) rather than derived.
- Moving obstacles. The obstacle set is static in the current formulation; since the repair runs at 25 Hz, the authors frame moving obstacles as a question of re-evaluating feasibility as the scene is updated rather than of planning cost.
Target Audience
Robotics researchers and graduate students working on motion planning, redundancy resolution and contact-rich manipulation, particularly those interested in preserving demonstrated or prescribed Cartesian trajectories under unexpected obstacles. It is also useful for practitioners implementing safe avoidance on redundant industrial arms, and for readers interested in how classical boundary-following behavior can be reformulated as a search over a configuration-space boundary roadmap.
Authors’ abstract
Contact-rich manipulation such as wiping, polishing and surface inspection specifies the task as a continuous end-effector trajectory rather than a goal pose. When an obstacle absent from the planning model intersects it, conventional planners return a collision-free path that may differ from the nominal throughout, discarding trajectory that was never obstructed. We present Close&Safe (Close to the intended task, Safe from obstacles), which decouples tracking from…
The full abstract on arXivRelated papers
- An Open-Source da Vinci X/Xi Instrument Module for Laparoscopic Surgery Research 2026-11-16 · cs.RO · Also by Ravi Prakash
- OCTN: Neural OCT Representations for Robot-Guided Precision Intervention 2026-09-06 · cs.RO · Also by Ravi Prakash
- Gripper-aware Vision Language Action Models 2026-08-25 · cs.RO · Also by Ravi Prakash
- Embodied Passive Aeroacoustic Perception Enables Relative Sensing and Pursuit Between Aerial Robots 2026-08-01 · cs.RO · Also by Ravi Prakash
- Closed-Loop Physics-Based Manipulation Evaluation at a Commodity Price: What 4.4 L4 GPU hours at $3.50 Buys You 2026-11-05 · cs.RO · Key terms of the title in common