Manuscript Offprint
arXiv:2611.05897FWIK: Multi-Waypoint IK Selection via Lookahead Graph Search
Jinglan Cao, Guohui Zhong, and Chengwei Zhang

Fig. 1. We present a method that enables a robot to select IK solutions for an ordered sequence of waypoints by reasoning over multiple candidate configurations in a bounded future window. (a) Candidate joint configurations generated for upcoming waypoints. (b) Experimental setup starting from identical initial states; red arrows show waypoint order. (c)–(e) Time-series comparison demonstrating that our method reaches subsequent waypoints faster than TRAC-IK. Orange and gray represent FWIK and TRAC-IK, respectively.
Abstract— An ordered sequence of end-effector poses can give a redundant robot arm multiple valid joint configurations at each waypoint. Inverse kinematics (IK) computes these configurations. Choosing a configuration only for the next waypoint can leave the arm poorly placed for later waypoints. This may increase planned motion time or cause a later planning failure. This paper presents Future-Window Inverse Kinematics (FWIK), an online method that selects IK solutions by considering a small window of future waypoints. FWIK generates several IK candidates, connects them in a layered joint-space graph, and ranks candidate paths with a simple motion-time estimate. A learned model removes paths whose transitions are likely to cause self-collision. A standard MoveIt 2 planner then checks the next-waypoint IK goals from the remaining paths in ranked order, and the first goal that yields a valid trajectory is selected for execution. We evaluate FWIK in simulation on two 7-DoF manipulators, the Franka Emika Panda and the KUKA LBR iiwa. Each method-planner setting contains five repetitions of 100 sequences with 50 waypoints. Across Pilz, RRT-Connect, CHOMP, and STOMP, FWIK completes 96.8–100% of sequences and gives the shortest planned trajectory duration in all eight robot-planner settings. Its mean duration is 12.8–13.1% lower than STAMPEDE, 22.5–25.6% lower than IKLink, and 27.5–37.2% lower than retry-based TRAC-IK. The results show that a small future window can improve sequence completion and reduce planned motion time while leaving final trajectory validation to the motion planner.
I. INTRODUCTION
Many robot tasks require an ordered sequence of end-effector poses rather than a single isolated goal. Welding, surface inspection, and multi-stage pick-and-place are common examples. For a redundant manipulator, the same end-effector pose may admit multiple valid joint configurations because the robot has more degrees of freedom (DoF) than are required to specify the end-effector pose [1]. Inverse kinematics (IK) determines such configurations for a desired end-effector pose.
The choice of IK solution affects more than the current motion. The selected configuration becomes the start state for the next planning request, so locally equivalent IK solutions can have very different consequences for the remaining waypoint sequence. One configuration may preserve joint range and maintain connectivity to future IK branches, whereas another may require a large posture change or make a later waypoint difficult to reach. Repeated local choices can therefore increase planned trajectory duration, introduce discontinuous motion, or cause the sequence to terminate when a later waypoint cannot be planned [2]–[4].
Standard online IK interfaces are typically pointwise: given a target pose, they return a feasible configuration for that pose without explicitly reasoning about downstream waypoints. A solver such as TRAC-IK can quickly provide a valid configuration under joint limits [5], after which a motion planner generates a trajectory toward that goal. This separation is simple and efficient, but it discards useful future information when several upcoming waypoints are already known. Methods that generate diverse IK solutions or optimize configurations over an entire path address related aspects of this problem [2], [6]–[9]. However, full-path methods exploit the complete known sequence before execution, whereas an online system may instead benefit from bounded lookahead: using only a short future window, executing one decision, and updating that decision as the task progresses or new information becomes available.
Self-collision introduces a second source of inefficiency. Geometric collision checkers such as the Flexible Collision Library (FCL) provide accurate collision tests and remain essential for final validation [10]. However, if the IK selection layer proposes a goal whose transition from the current configuration is likely to self-collide, the downstream planner may spend substantial effort on an unfavorable target before failing and retrying another IK solution. Learning-based collision models have shown that approximate configuration-space representations can reduce the cost of repeated collision queries [11]–[13]. For multi-waypoint execution, however, configuration validity alone is insufficient: the relevant question is also whether the transition from the current state to a candidate IK solution is likely to be collision-prone.
These observations motivate the central question of this paper: Can finite-horizon IK selection with edge-level self-collision screening improve the success-time trade-off of online multi-waypoint manipulation compared with pathwise or retry-based IK selection?
We answer this question with Future-Window Inverse Kinematics (FWIK), an online IK decision layer that operates upstream of a standard motion planner. At each execution step, FWIK constructs a layered graph over a finite window of upcoming waypoints. Each node represents an IK candidate, and each edge represents a possible transition between two candidates with an associated synchronized joint-motion time estimate. Rather than selecting the next IK target independently, FWIK ranks candidate paths according to their connectivity and estimated motion cost across the visible window. The leading transitions of promising paths are then screened using a learned edge-level self-collision model before distinct first-goal candidates are submitted to a MoveIt 2 planner for geometric validation. Only the first validated IK target is executed; the window then advances by one waypoint and the decision process is repeated. In this way, FWIK uses future information without replacing the downstream motion planner or committing to a complete trajectory in advance.
The main contributions of this paper are:
- A finite-window formulation of online IK selection that chooses the next IK target according to its connectivity with near-future waypoint solutions, rather than considering the next pose in isolation.
- An edge-level self-collision screening module that rejects risky leading transitions before costly planner retries while retaining geometric collision checking in the downstream planning pipeline.
- A repeated evaluation on two manipulators and four motion planners, comparing FWIK against IKLink, STAM-PEDE, and TRAC-IK in terms of sequence success, waypoint completion, IK decision time, and planned trajectory duration.
A. Pointwise and Pathwise Inverse Kinematics
Classical inverse kinematics maps a Cartesian end-effector pose to one or more joint configurations while accounting for kinematic constraints such as singularities and joint limits [14]. TRAC-IK improves the robustness of pointwise IK by combining inverse-Jacobian search with numerical optimization [5]. RelaxedIK formulates real-time IK as a multi-objective optimization that balances pose tracking with motion-related objectives, including smoothness, self-collision avoidance, and singularity avoidance [11]. IKFlow instead learns to generate diverse joint configurations for a single target pose [2], while RangedIK extends IK optimization to targets defined over ranges of valid poses [3]. These approaches improve the generation or optimization of IK solutions for individual targets, but they do not directly address online branch selection when multiple future waypoints are already known.
Pathwise IK methods reason over multiple target poses jointly. STAMPEDE constructs a discrete graph of candidate configurations across a pose sequence [6], while IKLink combines graph search and dynamic programming to reduce joint-space reconfiguration across successive targets [7]. TORM and CppFlow similarly optimize or generate joint-space realizations for complete Cartesian paths [8], [9]. More recent work considers many-objective formulations and model-predictive approaches for joint-space path generation [15], [16].
FWIK shares the graph-based view of pathwise IK, but differs in its execution contract. Rather than optimizing a complete waypoint sequence before execution, it constructs a finite future window, ranks candidate paths within that window, validates candidate goals for the current step, executes a single IK target, and then recomputes as the window advances. This receding-horizon formulation preserves useful short-term branch connectivity while allowing the IK decision to be updated after every executed waypoint.
This problem is also distinct from robotic task sequencing. Task-sequencing methods typically optimize the order in which task locations are visited [17], [18]. In contrast, FWIK assumes that the waypoint order is fixed; its decision variable is the joint-space IK branch used to realize each waypoint.
B. Motion Planning and Planner Validation
Motion planning determines a collision-free trajectory between robot configurations in high-dimensional configuration spaces. Sampling-based approaches such as probabilistic roadmaps and rapidly exploring random trees form a major class of such methods [19], [20]. Among these, RRT-Connect is widely used for dual-tree bidirectional search in high-dimensional query tasks [20]. The Open Motion Planning Library (OMPL) provides reusable implementations of many sampling-based planners [21], while MoveIt integrates inverse kinematics, motion planning, collision checking, and trajectory execution within a common manipulation framework [22]. For structured industrial motions, the Pilz Industrial Motion Planner provides synchronized point-to-point joint trajectories together with linear and circular Cartesian motions [23].
Optimization-based planners provide a complementary approach. CHOMP optimizes a trajectory objective that balances smoothness and obstacle avoidance [24]; STOMP improves trajectories through stochastic sampling and iterative updates [25]; and TrajOpt formulates trajectory optimization using sequential convex optimization with collision penalties [26].
FWIK does not replace these planners. Instead, it operates upstream of motion planning by ranking alternative IK goals for the next waypoint using information from nearby future waypoints. The configured planner remains responsible for trajectory construction, geometric collision checking, and final validation. The proposed method therefore addresses goal-configuration selection rather than trajectory generation itself, allowing the selector to remain compatible with different downstream planning pipelines.
C. Collision Checking and Time-Aware Ranking
Collision checking is a major computational component of robot motion planning [13], [27], [28]. Geometric libraries such as FCL provide accurate collision and proximity queries and remain important for validating planned robot motion [10]. Learning-based approximations seek to reduce repeated geometric collision queries by learning configuration-space or distance representations. Fastron, for example, learns an approximate collision boundary for fast configuration classification [12], while later approaches learn differentiable or neural representations of collision and signed-distance structure [13], [27], [28].
For waypoint execution, however, endpoint validity alone is insufficient. A candidate IK configuration may itself be collision-free while the transition from the current configuration to that candidate passes through self-collision. This motivates evaluating motion segments rather than only isolated configurations, consistent with collision-aware trajectory optimization and learned collision reasoning over local motion structure [13], [26], [29]. FWIK adopts this edge-level view and uses a learned transition classifier to screen risky leading motions before they are submitted to the downstream planner. The learned model acts only as a scoring and rejection mechanism; geometric planner validation is retained for the selected goal.
Transition ranking also requires a lightweight estimate of motion cost. Time-aware trajectory generation commonly accounts for joint velocity and acceleration limits when estimating or constructing feasible motions [30], [31]. Building on this principle, FWIK uses a synchronized trapezoidal joint-motion model to estimate the traversal time of graph edges. This provides a computationally inexpensive score for comparing alternative IK branches before invoking the full motion planner.
Together, these lines of work motivate a middle ground between pointwise IK selection and complete path optimization: a receding-horizon IK decision layer that exploits

Fig. 2. Overview of the FWIK decision pipeline.
near-future branch connectivity, screens transition-level self-collision risk, and leaves exact trajectory generation and validation to an existing motion planner.
III. METHODOLOGY
FWIK is a short-lookahead decision layer for online multi-waypoint execution. At each control step, it selects an IK configuration for the next waypoint while accounting for its joint-space connectivity to nearby future waypoints. FWIK performs this decision in four stages: it defines a finite future window, generates IK candidates, ranks candidate paths through the window, and screens risky self-collision transitions before planner validation. Only the first goal of the selected path is executed; the window then advances and the decision is recomputed. Fig. 2 summarizes the complete decision pipeline.
A. Problem Formulation
Let denote the current joint state of a manipulator with degrees of freedom. The ordered task contains Cartesian end-effector poses, , where each denotes a Cartesian end-effector pose represented by position and unit-quaternion orientation in the planning frame.
At control step , FWIK observes the finite future window
where is the maximum number of visible waypoints. The default setting is . Rather than committing to a complete configuration sequence, FWIK selects one configuration for , executes the planner-validated trajectory to that configuration, and then shifts the window forward by one waypoint. This receding-window execution limits commitment to the current action while allowing the IK decision to be revised as the task progresses.
B. Candidate Generation and Window Graph
For each pose , the TRAC-IK solver is invoked through the MoveIt IK interface from randomized initial configurations, or seeds, to construct a candidate layer
Each retained candidate is an IK solution satisfying the target pose and active joint limits. Solutions outside the joint bounds are discarded. Candidate layers and adjacent edge-cost matrices are cached by waypoint identifier so that overlapping future windows can reuse previously computed information. In the reported experiments, FWIK requests up to candidates per waypoint, allows 800 IK attempts, and uses a 1 ms timeout per attempt.
The resulting candidate layers form a directed layered graph. Each layer corresponds to one visible waypoint; each node corresponds to one IK candidate; and edges connect candidates in adjacent layers. An edge therefore represents a possible joint-space transition between two consecutive task poses.
For an edge from to , the displacement of joint is . FWIK assigns each edge a low-cost estimate of synchronized rest-to-rest motion time. Let and denote the velocity and acceleration limits of joint . Under a symmetric acceleration-deceleration profile, the critical displacement required to reach the velocity limit is
If , the joint follows a triangular profile: it accelerates and then decelerates without reaching its velocity limit. Its estimated motion time is
Otherwise, the joint reaches its velocity limit and follows a trapezoidal profile with an intermediate constant-velocity phase:
Assuming synchronized joint motion with independent velocity and acceleration bounds, the transition duration is approximated by the slowest joint: .
This cost does not generate a trajectory. Instead, it provides a computationally inexpensive and physically interpretable estimate for comparing IK branches before invoking a full motion planner [30], [31].
C. Future-Window Path Ranking
A path through the current future window selects one IK candidate from each visible waypoint layer:
where
The predicted traversal cost of a path is
The first term estimates the transition from the current manipulator state to the next waypoint. The remaining terms estimate the cost of continuing through the nearby future waypoints. The objective therefore converts pointwise IK selection into a short-horizon path-ranking problem: two configurations that are similarly attractive for the immediate waypoint can receive different scores because they induce different transition costs to subsequent IK branches.
A direct enumeration of all candidate combinations would require up to paths when each layer contains K candidates. Instead, the implementation propagates low-cost path suffixes backward through the layered graph and retains at most R = 8 suffixes for each first-layer candidate. Consequently, at most KR complete paths are retained for subsequent ranking. These paths are sorted in ascending order of .
Retaining multiple alternatives is important because the lowest-cost path according to the time model may later be rejected by the self-collision filter or by the downstream motion planner, while a slightly higher-cost alternative may remain feasible.
D. Edge-Level Self-Collision Screening
The time-based ranking model does not account for self-collision. A path with a low predicted traversal time may therefore begin with a transition that is unlikely to be executable. FWIK addresses this issue by screening the leading edges of each ranked path with a learned edge-level self-collision model before invoking the configured motion planner [13], [27], [28].
For each ranked path , the current joint state is prepended to form . FWIK evaluates the first adjacent transitions in , where in the main experiments. Each transition is represented by its two endpoint configurations, and the model predicts , where denotes the predicted probability of self-collision along the transition.
After per-joint normalization, the classifier uses a two-layer, four-head Transformer encoder with a 128-dimensional hidden representation [32]. The Panda model, for example, was trained on one million independently sampled endpoint pairs. For each pair, Pilz PTP was used to generate a transition trajectory, and the returned trajectory was checked for self-collision using a maximum interpolation step of 0.02 rad. These checks provided the binary training labels.
While training labels are extracted from Pilz PTP reference trajectories, the learned model is deployed as a pre-planning collision filter for all motion planners. It favors IK goals whose transitions are predicted to avoid self-collision, aiming to reduce detours and planned motion time. This preference may reject goals that another planner could reach through a detour; final trajectory validation remains with the configured planner. By assessing edge-level self-collisions, we explicitly
Require: , future window , IK generator, optional edge-collision model, planner
1: Generate or reuse IK candidate layers .
2: Build or reuse adjacent edge-time cost matrices.
3: Retain up to low-cost suffixes per first-layer candidate.
4: Rank the resulting candidate paths by .
5: if edge screening is enabled then
6: for each unpruned ranked path do
7: Form by prepending .
8: Check the first edges of .
9: Reject if any checked edge is predicted colliding.
10: Cache edge predictions.
11: Prune paths sharing a colliding first edge.
12: end for
13: if all paths are rejected and then
14: Repeat screening using only the first edge.
15: end if
16: end if
17: Visit surviving paths in ranked order.
18: Skip duplicate first-layer IK goals.
19: Return the first goal with a valid planner trajectory.
Fig. 3. Decision process for one FWIK control step.
filter for IK solutions enabling direct execution, balancing collision safety with trajectory efficiency.
The dataset was divided into 70% training, 20% validation, and 10% testing subsets. At the validation-selected decision threshold of 0.682, the held-out test set achieved an score of 0.972 and an AUROC of 0.9988. To be more conservative against self-collisions, online FWIK screening uses the threshold and runs inference on CPU. A candidate path is rejected if any screened edge satisfies .
Edge predictions are cached within each control step. In particular, if the first edge associated with a first-layer IK candidate is predicted to collide, every retained path sharing that same first goal can be pruned without repeated inference.
When all candidate paths fail the default two-edge screening, FWIK repeats the screening using only the first edge. This fallback follows the receding-window execution policy: only the first transition is executed during the current control step. It therefore avoids rejecting a potentially safe immediate action solely because the predicted risk of the unexecuted second transition is uncertain.
The surviving paths are visited in ascending order of , while duplicate first-layer goals are skipped. Each distinct first IK target is submitted to the configured MoveIt 2 planner. FWIK returns the first target for which the planner produces a valid trajectory. The learned collision model therefore acts only as an inexpensive pre-planning risk filter rather than a safety proof; final geometric trajectory validation remains the responsibility of the downstream planner.
Fig. 3 summarizes the complete decision procedure for one FWIK control step, from candidate reuse and path ranking to edge screening and planner validation.
IV. EVALUATION
The evaluation measures complete waypoint sequences rather than isolated IK queries. This distinction is necessary because one poor intermediate configuration can stop an otherwise successful sequence [4], [15], [33]. We first define the benchmark and metrics, then report the main comparison and an ablation study.
A. Experimental Setup
The software benchmark uses obstacle-free scenes and two 7-DoF manipulators: a Franka Emika Panda and a KUKA LBR iiwa. All tests run under Robot Operating System 2 (ROS 2) Jazzy and MoveIt 2. Each end-effector pose is obtained through forward kinematics, which computes the end-effector pose from a joint configuration. The sampled configuration is collision-free and away from kinematic singularities, where small end-effector motions can require large joint motions [1]. The resulting sequences contain diverse goals and are not intended to represent smooth Cartesian paths. Every method uses the same 100 sequences, each with 50 waypoints. Each method-planner setting is repeated five times. A sequence counts as successful only if all 50 waypoints are completed. The final pose must be within 5 mm and 2° of the target.
We compare FWIK with IKLink, STAMPEDE using adaptive sample expansion, and TRAC-IK in retry mode. The same downstream planner follows every IK method. The four planners are Pilz PTP, RRT-Connect, CHOMP, and STOMP. FWIK uses , , , and . TRAC-IK performs up to 50 retries until the motion planner outputs a feasible path. Both IKLink and STAMPEDE are offline full-path solvers that process the entire sequence as input and output IK solutions for all waypoints in a single pass.
All experiments were conducted on a Mac equipped with an Apple M4 Pro chip and 24 GB of unified memory. Decision-time values support comparisons within this testbed, but they should not be treated as portable latency measurements.
B. Metrics
Sequence success is the main reliability metric. Waypoint completion is the fraction of waypoints completed before a sequence stops. Decision time includes IK generation, path ranking, collision screening, and planner validation. Planned trajectory duration is the sum of the durations of all planning steps in a completed sequence. MoveIt's Time-Optimal Trajectory Generation (TOTG) [31] response adapter determines each step duration by time-parameterizing the returned path under the configured joint velocity and acceleration limits. The resulting duration is planner-derived and does not represent measured robot execution or wall-clock time. Timing metrics include only completed sequences and must therefore be interpreted together with success rates. Reliability values report the mean and sample standard deviation (SD) across five repetitions. Timing values use the completed sequences that contain valid records. The study reports descriptive comparisons and does not claim statistical significance.
TABLE I
RESULTS OVER FIVE REPETITIONS. RELIABILITY IS MEAN±SD. TIMING IS MEAN±SD OVER COMPLETED SEQUENCES.
| Robot | Planner | Method | Sequence Success (%) | Waypoint Completion (%) | Decision Time (s/sequence) | Planned Duration (s/sequence) |
|---|---|---|---|---|---|---|
| Franka Emika Panda | Pilz PTP | IKLink | 10.4 ± 3.4 | 40.06 ± 3.92 | 3.84 ± 0.24 | 95.24 ± 4.29 |
| STAMPEDE | 21.6 ± 3.6 | 57.48 ± 2.13 | 3.89 ± 2.77 | 84.49 ± 2.67 | ||
| TRAC-IK | 9.6 ± 2.1 | 41.79 ± 2.61 | 0.11 ± 0.02 | 101.40 ± 4.80 | ||
| FWIK | 96.8 ± 2.0 | 98.19 ± 1.26 | 1.60 ± 0.12 | 73.52 ± 1.61 | ||
| RRT-Connect | IKLink | 14.2 ± 4.4 | 43.71 ± 3.19 | 3.77 ± 0.28 | 96.24 ± 4.16 | |
| STAMPEDE | 19.8 ± 2.3 | 54.88 ± 1.04 | 3.51 ± 1.90 | 84.60 ± 2.41 | ||
| TRAC-IK | 100.0 ± 0.0 | 100.00 ± 0.00 | 0.38 ± 0.07 | 102.36 ± 4.32 | ||
| FWIK | 100.0 ± 0.0 | 100.00 ± 0.00 | 1.83 ± 0.21 | 73.54 ± 1.65 | ||
| CHOMP | IKLink | 11.6 ± 2.7 | 41.12 ± 2.62 | 3.82 ± 0.26 | 94.87 ± 3.88 | |
| STAMPEDE | 18.4 ± 2.6 | 51.62 ± 1.91 | 3.34 ± 1.38 | 84.41 ± 2.36 | ||
| TRAC-IK | 93.2 ± 2.6 | 99.82 ± 0.05 | 10.58 ± 2.49 | 104.78 ± 3.90 | ||
| FWIK | 100.0 ± 0.0 | 100.00 ± 0.00 | 10.03 ± 1.19 | 73.48 ± 1.63 | ||
| STOMP | IKLink | 13.2 ± 1.9 | 43.34 ± 1.04 | 3.82 ± 0.34 | 95.13 ± 4.53 | |
| STAMPEDE | 19.4 ± 3.2 | 54.63 ± 1.77 | 3.46 ± 2.05 | 84.60 ± 2.32 | ||
| TRAC-IK | 89.8 ± 1.9 | 95.22 ± 0.97 | 26.67 ± 20.80 | 105.24 ± 4.29 | ||
| FWIK | 100.0 ± 0.0 | 100.00 ± 0.00 | 2.11 ± 0.24 | 73.53 ± 1.68 | ||
| KUKA LBR liwa | Pilz PTP | IKLink | 87.6 ± 2.3 | 93.82 ± 1.04 | 2.25 ± 0.19 | 104.02 ± 5.18 |
| STAMPEDE | 85.6 ± 3.6 | 92.20 ± 2.29 | 1.96 ± 0.48 | 89.05 ± 2.87 | ||
| TRAC-IK | 100.0 ± 0.0 | 100.00 ± 0.00 | 0.13 ± 0.01 | 123.17 ± 5.29 | ||
| FWIK | 100.0 ± 0.0 | 100.00 ± 0.00 | 1.27 ± 0.06 | 77.61 ± 1.61 | ||
| RRT-Connect | IKLink | 100.0 ± 0.0 | 100.00 ± 0.00 | 2.24 ± 0.11 | 103.97 ± 5.38 | |
| STAMPEDE | 100.0 ± 0.0 | 100.00 ± 0.00 | 1.91 ± 0.41 | 89.14 ± 2.89 | ||
| TRAC-IK | 100.0 ± 0.0 | 100.00 ± 0.00 | 0.33 ± 0.15 | 121.07 ± 5.54 | ||
| FWIK | 100.0 ± 0.0 | 100.00 ± 0.00 | 1.53 ± 0.22 | 77.69 ± 1.62 | ||
| CHOMP | IKLink | 100.0 ± 0.0 | 100.00 ± 0.00 | 2.25 ± 0.12 | 104.41 ± 5.32 | |
| STAMPEDE | 99.8 ± 0.4 | 100.00 ± 0.01 | 2.04 ± 0.66 | 89.11 ± 2.94 | ||
| TRAC-IK | 100.0 ± 0.0 | 100.00 ± 0.00 | 10.01 ± 1.49 | 123.70 ± 5.54 | ||
| FWIK | 100.0 ± 0.0 | 100.00 ± 0.00 | 10.81 ± 1.16 | 77.70 ± 1.60 | ||
| STOMP | IKLink | 97.6 ± 2.3 | 98.38 ± 1.48 | 2.26 ± 0.13 | 104.02 ± 5.20 | |
| STAMPEDE | 98.4 ± 0.9 | 98.98 ± 0.51 | 1.92 ± 0.43 | 89.03 ± 2.85 | ||
| TRAC-IK | 100.0 ± 0.0 | 100.00 ± 0.00 | 0.49 ± 0.03 | 123.43 ± 5.69 | ||
| FWIK | 100.0 ± 0.0 | 100.00 ± 0.00 | 1.57 ± 0.11 | 77.66 ± 1.55 |
C. Main Results
Table I gives the complete comparison. Three findings are consistent across the benchmark. FWIK attains the highest sequence success in every robot-planner setting (including ties), yields the shortest planned trajectory in all eight settings, and generally spends more time in the selection stage than retry-based TRAC-IK.
The clearest reliability gain appears on the Panda, where baseline selectors often terminate early. FWIK completes 96.8–100% of Panda sequences, whereas IKLink and STAMPEDE remain below one quarter in the same settings and retry-based TRAC-IK is sensitive to the planner. On the KUKA, most selectors are already close to the reliability ceiling, so the principal contribution there is efficiency rather than additional sequence completion. The difference between sequence success and waypoint completion in the harder Panda settings also confirms that a small number of late failures can dominate a 50-waypoint task.
Planned trajectory duration shows a consistent difference across both robots. FWIK shortens planned trajectories by 12.8–13.1% relative to STAMPEDE, 22.5–25.6% relative to IKLink, and 27.5–37.2% relative to TRAC-IK (see representative execution in Fig. 1). The small change across planners for the same robot is consistent with the purpose of the future-window cost, which selects joint configurations before the planner constructs a trajectory. The data support lower planned duration in this benchmark, but they do not establish global time optimality.
Decision time exposes the main cost of FWIK. TRAC-IK is usually faster because it returns a single solution, whereas FWIK generates alternatives, evaluates edges, and may validate multiple distinct goals. Both methods incur relatively large decision times under CHOMP, whose iteration typically entails computing functional gradients and updating the entire trajectory [24]. For FWIK and retry-based TRAC-IK, the reported times include planner validation and retries, thus reflecting the combined computational characteristics of the planner and IK selection. Furthermore, since IKLink and STAMPEDE are offline, full-path methods, the decision times reported in Table I correspond to the entire sequence. Notably, FWIK achieves average decision time per completed waypoint of 29.39 ± 4.54 ms (Pilz), 33.99 ± 5.33 ms (RRT-Connect), and 37.32 ± 6.79 ms (STOMP), demonstrating its suitability for online planning.
Overall, FWIK generally trades additional online computation for shorter planned duration and higher sequence completion. Because timing values include only completed sequences, they cannot be compared independently of reliability. This trade-off is favorable when motion efficiency matters more than a strict per-waypoint latency budget, but it may be unsuitable for high-rate loops. The current evidence therefore supports consistent motion-duration reduction and stable execution across the tested planners, rather than universal superiority across all metrics.
The ablation study in Table II separates the effects of the
TABLE II
ABLATION RESULTS ON FUTURE WINDOW w AND EDGE SCREENING.
| Planner | w = 3 | w = 1 | ||
|---|---|---|---|---|
| EC | no EC | EC* | no EC | |
| Franka Panda | ||||
| Pilz PTP | 96.8%/73.52 | 22.6%/73.22 | 92.0%/77.34 | 18.2%/77.22 |
| RRT-Connect | 100.0%/73.54 | 100.0%/73.68 | 93.6%/77.43 | 100.0%/77.79 |
| CHOMP | 100.0%/73.48 | 96.2%/73.37 | 95.8%/77.35 | 95.6%/77.43 |
| STOMP | 100.0%/73.53 | 80.6%/73.43 | 93.4%/77.40 | 82.0%/77.45 |
| KUKA LBR iiwa | ||||
| Pilz PTP | 100.0%/77.61 | 100.0%/77.64 | 100.0%/81.80 | 100.0%/81.80 |
| RRT-Connect | 100.0%/77.69 | 100.0%/77.62 | 100.0%/81.83 | 100.0%/81.86 |
| CHOMP | 100.0%/77.70 | 100.0%/77.62 | 100.0%/81.85 | 100.0%/81.95 |
| STOMP | 100.0%/77.66 | 100.0%/77.72 | 100.0%/81.89 | 100.0%/81.88 |
EC denotes edge-collision screening. Each entry reports mean sequence success (%) / trajectory duration over completed sequences (s) over 5 runs. RRT-Connect is evaluated via OMPL. * The collision detection window c is set to 1 when w = 1.
future window and edge screening. With screening enabled, expanding the window from w = 1 to w = 3 reduces the planned duration by about 5% across all robot-planner combinations. This supports the intended role of future-window reasoning: the next IK goal is chosen not only for its immediate transition cost, but also for the short sequence of transitions that it enables afterward.
Screening primarily improves reliability when failures are common: on Panda-Pilz, it raises success from 22.6% to 96.8%, whereas its effect on the near-ceiling KUKA settings is negligible. This high baseline reliability can be largely attributed to the robot's highly symmetric 7-DoF kinematic layout and streamlined outer geometry with internally routed cables [34], which structurally minimize interference contours and physical self-collisions compared to asymmetric platforms like the Panda. The Panda-RRT-Connect result at w = 1, where screening lowers success from 100% to 93.6%, shows that false positives or an overly conservative threshold can remove viable branches.
Edge screening functions as a risk-mitigation mechanism at the sequence level. Although it sacrifices a small fraction of potentially viable candidates, it significantly prevents self-colliding states from propagating to subsequent waypoints. Taken together, the ablation suggests that future-window reasoning primarily improves motion efficiency, whereas edge-level screening primarily improves reliability when collision-related failures are common.
V. DISCUSSION
In this section, we analyze the performance mechanism of FWIK and discuss its current limitations and future potential.
A. Empirical Insights and Trade-offs
The evidence supports a specific claim: bounded lookahead makes online IK selection more effective at the sequence level. The most stable outcome is the reduction in trajectory duration across all eight settings. Reliability gains are conditional on the robot-planner pair, with the largest improvement on the Panda. On the KUKA, FWIK mainly preserves reliability while improving motion efficiency.
The ablation separates the mechanisms behind this behavior. A larger window improves efficiency by preferring IK branches that remain cheap over several upcoming transitions. Edge screening addresses a different failure mode by
removing leading transitions that are likely to self-collide before planner retries are spent. Its benefit is therefore concentrated in failure-prone settings, while the observed false-positive case shows that screening thresholds can also discard a viable branch. The two components should consequently be tuned for different objectives rather than treated as interchangeable sources of improvement.
The main trade-off is computation versus downstream motion quality. FWIK spends more time before execution to generate alternatives, screen transitions, and validate goals. The extra cost is most defensible when planned motion duration and sequence completion dominate the application objective. It may be unsuitable for high-rate loops with a hard per-step budget. Because the study reports planner-derived duration rather than physical execution time, the observed reduction should not be interpreted as a direct wall-clock task-time improvement.
B. Limitations and Future Work
First, the evaluation is software-only, obstacle-free, and limited to two 7-DoF robots. Physical execution, environmental collision, controller tracking, and sensing uncertainty remain untested. Second, the benchmark waypoints are independently sampled collision-free, nonsingular poses rather than smooth trajectories from a particular application. This design intentionally stresses IK-branch changes and difficult transitions, but it does not represent all welding, painting, inspection, or pick-and-place tasks. Future evaluation should therefore include structured application trajectories as well as obstacle-rich scenes. Third, the learned edge self-collision classifier is robot-specific, requiring a separate model to be trained for each manipulator type. Its transferability across robots with different kinematic structures has not yet been evaluated. The degradation observed for Panda-RRT-Connect at w = 1 indicates that screening can reduce reliability; its sensitivity to threshold selection warrants further study.
The current formulation also assumes that future waypoints are known exactly. This assumption is reasonable for predefined task paths but becomes restrictive when future targets are obtained from perception or prediction. In that setting, later graph layers could incorporate pose uncertainty or be weighted by prediction confidence. A further extension would combine this uncertainty-aware window with scene-conditioned distance models and self-collision estimates [27], [35]. Such extensions would preserve the receding-window structure of FWIK while allowing the decision layer to reason jointly about future connectivity, collision risk, and uncertainty.
VI. CONCLUSION
In this work, we present FWIK, an online IK selector for ordered waypoint tasks. The method ranks IK paths over a small future window, filters risky transitions with a learned self-collision model, and leaves final trajectory validation to a standard motion planner. In software tests on two 7-DoF robots and four MoveIt 2 planners, FWIK completed 96.8–100% of sequences and produced the shortest planned trajectory duration in all eight settings. The reliability improvement was largest on the Panda, while several KUKA settings were already close to 100%. FWIK usually requires more decision time than retry-based TRAC-IK. Its main contribution is therefore a practical exchange: more work during IK selection for higher sequence completion and shorter planned motion. The results support future-window selection in this benchmark and define the physical, statistical, and scene-level tests needed for broader conclusions.
REFERENCES
[1] B. Siciliano, L. Sciavicco, L. Villani, and G. Oriolo, Robotics: Modelling, Planning and Control. Springer, 2009.
[2] B. Ames, J. Morgan, and G. Konidaris, "Ikflow: Generating diverse inverse kinematics solutions," IEEE Robotics and Automation Letters, vol. 7, no. 3, pp. 7177–7184, 2022.
[3] Y. Wang, P. Praveena, D. Rakita, and M. Gleicher, "Rangedik: An optimization-based robot motion generation method for ranged-goal tasks," arXiv preprint arXiv:2302.13935, 2023.
[4] M. Yoon, M. Kang, D. Park, and S.-E. Yoon, "Learning-Based Initialization of Trajectory Optimization for Path-Following Problems of Redundant Manipulators," in Proceedings of the IEEE International Conference on Robotics and Automation, 2023, pp. 9686–9692.
[5] P. Beeson and B. Ames, "TRAC-IK: An Open-Source Library for Improved Solving of Generic Inverse Kinematics," in Proceedings of the IEEE-RAS International Conference on Humanoid Robots, 2015, pp. 928–935.
[6] D. Rakita, B. Mutlu, and M. Gleicher, "STAMPEDE: A Discrete-Optimization Method for Solving Pathwise-Inverse Kinematics," in Proceedings of the IEEE International Conference on Robotics and Automation, 2019, pp. 3507–3513.
[7] Y. Wang, C. Sifferman, and M. Gleicher, "IKLink: End-Effector Trajectory Tracking with Minimal Reconfigurations," in Proceedings of the IEEE International Conference on Robotics and Automation, 2024, pp. 13629–13636.
[8] M. Kang and S.-E. Yoon, "Analysis and Acceleration of TORM: Optimization-Based Planning for Path-Wise Inverse Kinematics," Autonomous Robots, vol. 46, no. 5, pp. 599–615, 2022.
[9] J. Morgan, D. Millard, and G. S. Sukhatme, "Cppflow: Generative inverse kinematics for efficient and robust cartesian path planning," in 2024 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2024, pp. 12 279–12 785.
[10] J. Pan, S. Chitta, and D. Manocha, "FCL: A General Purpose Library for Collision and Proximity Queries," in Proceedings of the IEEE International Conference on Robotics and Automation, 2012, pp. 3859–3866.
[11] D. Rakita, B. Mutlu, and M. Gleicher, "RelaxedIK: Real-time Synthesis of Accurate and Feasible Robot Arm Motion," in Proceedings of Robotics: Science and Systems, Pittsburgh, Pennsylvania, Jun. 2018.
[12] N. Das and M. Yip, "Learning-based proxy collision detection for robot motion planning applications," IEEE Transactions on Robotics, vol. 36, no. 4, pp. 1096–1114, 2020.
[13] Y. Zhi, N. Das, and M. Yip, "Diffco: Autodifferentiable proxy collision detection with multiclass labels for safety-aware trajectory optimization," IEEE Transactions on Robotics, vol. 38, no. 5, pp. 2668–2685, 2022.
[14] Y. Nakamura and H. Hanafusa, "Inverse Kinematic Solutions with Singularity Robustness for Robot Manipulator Control," Journal of Dynamic Systems, Measurement, and Control, vol. 108, no. 3, pp. 163–171, 1986.
[15] B. Xie, J. Zhao, Q. Wang, and D. Wu, "Many-Objective Motion Generation Method for Redundant Manipulators by Solving Pathwise Inverse Kinematics," in Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, 2025, pp. 5206–5213.
[16] T. Oelerich, F. Beck, C. Hartl-Nesic, and A. Kugi, "BoundMPC: Cartesian Path Following With Error Bounds Based on Model Predictive Control in the Joint Space," The International Journal of Robotics Research, vol. 44, no. 8, pp. 1287–1316, 2025.
[17] S. Alatartsev, S. Stellmacher, and F. Ortmeier, "Robotic Task Sequencing Problem: A Survey," Journal of Intelligent & Robotic Systems, vol. 80, no. 2, pp. 279–298, 2015.
[18] F. Suárez-Ruiz, T. S. Lembono, and Q.-C. Pham, "Robotsp—a fast solution to the robotic task sequencing problem," in 2018 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2018, pp. 1611–1616.
[19] L. E. Kavraki, P. Švestka, J.-C. Latombe, and M. H. Overmars, "Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces," IEEE Transactions on Robotics and Automation, vol. 12, no. 4, pp. 566–580, 1996.
[20] J. J. Kuffner and S. M. LaValle, "RRT-connect: An efficient approach to single-query path planning," in Proceedings 2000 ICRA. Millennium conference. IEEE international conference on robotics and automation. Symposia proceedings (Cat. No. 00CH37065), vol. 2. IEEE, 2000, pp. 995–1001.
[21] I. A. Şucan, M. Moll, and L. E. Kavraki, "The Open Motion Planning Library," IEEE Robotics & Automation Magazine, vol. 19, no. 4, pp. 72–82, 2012.
[22] D. Coleman, I. A. Şucan, S. Chitta, and N. Correll, "Reducing the Barrier to Entry of Complex Robotic Software: A MoveIt! Case Study," Journal of Software Engineering for Robotics, vol. 5, no. 1, pp. 3–16, 2014.
[23] Pilz GmbH & Co. KG, "Industrial trajectory generation for MoveIt!" ROSIN Focused Technical Project, 2018, software and documentation, accessed Sep. 1, 2026. [Online]. Available: https://www.rosin-project.eu/ftp/industrial-trajectory-generation
[24] M. Zucker, N. Ratliff, A. D. Dragan, M. Pivtoraiko, M. Klingensmith, C. M. Dellin, J. A. Bagnell, and S. S. Srinivasa, "CHOMP: Covariant Hamiltonian Optimization for Motion Planning," The International Journal of Robotics Research, vol. 32, no. 9-10, pp. 1164–1193, 2013.
[25] M. Kalakrishnan, S. Chitta, E. Theodorou, P. Pastor, and S. Schaal, "STOMP: Stochastic Trajectory Optimization for Motion Planning," in Proceedings of the IEEE International Conference on Robotics and Automation, 2011, pp. 4569–4574.
[26] J. Schulman, Y. Duan, J. Ho, A. Lee, I. Awwal, H. Bradlow, J. Pan, S. Patil, K. Goldberg, and P. Abbeel, "Motion Planning with Sequential Convex Optimization and Convex Collision Checking," The International Journal of Robotics Research, vol. 33, no. 9, pp. 1251–1270, 2014.
[27] M. Koptev, N. Figueroa, and A. Billard, "Neural-JSDF: Neural Joint Space Implicit Signed Distance Functions for Reactive Robot Manipulator Control," IEEE Robotics and Automation Letters, vol. 8, no. 2, pp. 480–487, 2023.
[28] Y. Li, Y. Zhang, A. Razmjoo, and S. Calinon, "Representing Robot Geometry as Distance Fields: Applications to Whole-Body Manipulation," in Proceedings of the IEEE International Conference on Robotics and Automation, 2024, pp. 15 351–15 357.
[29] D. Rakita, H. Shi, B. Mutlu, and M. Gleicher, "CollisionIK: A Per-Instant Pose Optimization Method for Generating Robot Motions With Environment Collision Avoidance," in Proceedings of the IEEE International Conference on Robotics and Automation, 2021, pp. 9995–10001.
[30] T. Kröger and F. M. Wahl, "Online trajectory generation: Basic concepts for instantaneous reactions to unforeseen events," IEEE Transactions on Robotics, vol. 26, no. 1, pp. 94–111, 2009.
[31] T. Kunz and M. Stilman, "Time-Optimal Trajectory Generation for Path Following with Bounded Acceleration and Velocity," in Robotics: Science and Systems, 2012.
[32] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, "Attention Is All You Need," in Advances in Neural Information Processing Systems, vol. 30, 2017, pp. 5998–6008.
[33] E. Monari, Y. Chen, and R. Vertechy, "On Locally Optimal Redundancy Resolution Using the Basis of the Null Space," in Proceedings of the IEEE International Conference on Robotics and Automation, 2023, pp. 9665–9671.
[34] R. Bischoff, J. Kurth, G. Schreiber, R. Koepp, A. Albu-Schäffer, A. Beyer, O. Eiberger, S. Haddadin, A. Stemmer, G. Grunwald et al., "The KUKA-DLR Lightweight Robot arm-a new reference platform for robotics research and manufacturing," in ISR 2010 (41st international symposium on robotics) and ROBOTIK 2010 (6th German conference on robotics). VDE, 2010, pp. 1–8.
[35] A. Murali, A. Mousavian, C. Eppner, A. Fishman, and D. Fox, "Cab-iNet: Scaling Neural Collision Detection for Object Rearrangement With Procedural Scene Generation," in Proceedings of the IEEE International Conference on Robotics and Automation, 2023, pp. 1866–1874.