Repository navigation
Document PlanMotionSequence and joint-goal limit validation (RDK v1.17.0) - #5560
Conversation
…7.0) RDK v1.17.0 rejects a joint-configuration goal outside its joint limits, or with an unknown frame or wrong DoF, before planning (rdk#6801), and gives PlanMotionSequence a SequenceOptions argument, per-request ReturnPartialPlan clearing, rejected-solution metadata and an early ctx.Err() stop (rdk#6785, #6800, #6802, #6792, #6807). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nja2XqYruJmjhpsBqwUQUv
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Docs review: Ready to mergeThis PR adds a "Plan a sequence of requests" section for CI: All required checks passing Docs health: No regressions Released: All documented changes are live (all six source PRs are in rdk v1.17.0, published 2026-11-17) Nits
Verified against source (9 claims)
Automated review by Claude. Rerunning the review updates this comment. Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pushed 751d73b to
Checked by running Generated by Claude Code |
|
🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs' |

Source changes
All in RDK v1.17.0 (
git tag --containsprints v1.17.0 for each), read at the tag inmotionplan/armplanning/api.go:armplanning.PlanMotionSequence(ctx, logger, requests, opts *SequenceOptions). A niloptsusesNewDefaultSequenceOptions()(BacktrackBranchFactor: 3); below 1 is an error. Each request plans on a copy of itsPlannerOptionswithReturnPartialPlancleared.PlanMeta.RejectedSolutionslists the endings ruled out. A done context stops the sequence withstopped before planning request i/n: <ctx.Err()>.PlanMotionvalidation rejects a joint-configuration goal outside its frame's limits (goal %d frame %q joint %d is %.5f, outside its limits [%.5f, %.5f]), a goal naming a frame not in the frame system, and a goal with the wrong number of joint values. The start state isn't checked.Docs changes
docs/motion-planning/move-an-arm/multiple-waypoints.md:PlanMotionSequenceinstead of one multi-goalPlanMotion, the four-argument call, start-state chaining, backtracking andBacktrackBranchFactor,BacktrackCounterandRejectedSolutions,ReturnPartialPlanbeing off per request, and the context error. No docs page namedPlanMotionSequencebefore (docs-agent gaparmplanning-plan-motion-sequence).PlanMotionreturns an error before planning.docs/motion-planning/verify-a-plan.md"Read the plan": "An error means no plan was found within the timeout" now also covers the validation errors, with the limits error's format.How I found these
flows.mdmotion planning;service-api-xref.mdmotion.PlanMotionSequence,SequenceOptions,BacktrackBranchFactor,RejectedSolutions,ReturnPartialPlan,outside its limits,joint limits,no plan was foundacrossdocs/,static/includeandlayouts.ReturnPartialPlanappears only in multiple-waypoints.md, whose "Recover a partial plan" section stays true forPlanMotion.kinematics.md"Joint limits" ("prevent the motion planner from computing solutions...") is now also true for joint goals.Generated by daily docs change agent
Generated by Claude Code