TECHNOLOGY

MoveIt TOTG: validate the resampled trajectory, not only its input waypoints

In this article
THE QUICK TAKE

TOTG can change waypoint positions within its path tolerance; collision and limit acceptance must refer to the final trajectory actually sent for execution.

Timing can also change geometry

A motion-planning integration checks an input joint path for collisions, adds timestamps and sends the output to a controller. Calling the middle stage timing-only hides an important possibility: the chosen algorithm can change the positions along the path. For a trajectory near a modeled obstacle, input acceptance should not silently authorize a different output. Name the actual time-parameterization algorithm and inspect its output contract before deciding which earlier checks remain applicable.

Read the documented TOTG deviation

The MoveIt tutorial describes Time-optimal Trajectory Generation as fitting path segments and sampling new waypoints. Resulting positions can depart from the original path within a specified tolerance, so additional collision checks may be necessary. This is different from merely attaching durations to an unchanged position list. A path tolerance is also not an obstacle-clearance certificate: its units, configuration and relationship to nearby geometry must be understood in the intended planning pipeline.

Trace what the implementation replaces

In the inspected TOTG source, the algorithm builds a fitted Path and a parameterized trajectory, then clears the previous trajectory before inserting sampled states. Those states receive positions, velocities and accelerations from the parameterized result. Retaining an old validation label solely because the trajectory object has the same variable name misses this replacement. Keep input and output as identifiable artifacts, including algorithm configuration and the limits used to construct the result.

Construct a narrow-clearance planning fixture

A proposed nonactuating fixture should use a known collision scene and a geometric path with a deliberate bend near an obstacle. Preserve the accepted input, then compare the actual output positions and check the resulting path with the chosen collision-validation method. Vary the algorithm’s supported tolerance in separate named cases. Do not infer that a finite list of collision-free sampled states proves continuous collision freedom; any discretization or continuous-checking assumption belongs in the evidence.

Validate after the last geometry-changing stage

Acceptance should refer to the final joint order, position sequence, durations and associated velocity and acceleration limits. If another stage edits waypoints afterward, revisit both timing and collision assumptions. The tutorial treats jerk-limited smoothing as a separate processing stage; do not equate ordinary velocity/acceleration parameterization with a universal jerk guarantee. Capture the configured stage ordering and actual successful processing results instead of describing every trajectory bearing timestamps as equally validated or dynamically equivalent.

Keep computation separate from robot behavior

This source analysis proposes acceptance evidence; it does not report a measured collision, tracking test or execution benchmark. Model accuracy and hardware response remain separate conditions. The ManiSkill conversion guide explains another derived-trajectory validation problem, while software reproducibility supports preserving the processing configuration. For TOTG, the decisive boundary is the final artifact: timing and collision claims should identify the path actually produced, rather than borrowing authority from an earlier waypoint list.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles