Skip to content

Update Move mode docs for the Move and Preview tabs and saved arm poses - #5565

Merged
Eliza Farley (elizafarley) merged 6 commits into
mainfrom
claude/update-move-mode-tabs-saved-poses
Nov 23, 2026
Merged

Eliza Farley (elizafarley) merged 6 commits into
mainfrom
claude/update-move-mode-tabs-saved-poses

Conversation

@shannonbradshaw

@shannonbradshaw Shannon Bradshaw (shannonbradshaw) commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Source changes

  • Add support for arm pose saving / inspecting saved poses visualization#1178 (663a6728, in @viamrobotics/visualization v3.3.0): Move mode's controls split into a Move tab and a Preview tab, and an arm's Move tab gains Save current pose, which adds an erh:vmodutils:arm-position-saver component; saved poses are listed in a Saved poses folder in the World tree, and the selected one draws as a ghost.
  • viamrobotics/app#14466 and viamrobotics/app#14467: bumped the app to @viamrobotics/visualization 3.3.0, then 3.3.1. Production now pins 3.4.0 (pnpm-workspace.yaml), so the 3D SCENE tab has these controls.
  • Documents: no ticket key found (visualization#1178 carries none).
  • Docs gap: viz-move-mode-saved-poses

Docs changes

  • docs/visualization/3d-scene/move-mode.md:
    • "The move controls": the page described one form with three buttons. Motion service, World state and Constraints now sit above two tabs; the Move tab holds Target (world position and orientation, with Reset), travel, Collisions and Move.
    • "Preview, then run": Preview move and Execute plan are on the Preview tab, and Preview move becomes Re-plan preview once a plan is shown.
    • New "Save an arm pose" section: Save current pose (arms only, needs config edit permission) saves the arm's current joints, not the staged target, as an arm-position-saver and adds the erh:vmodutils module if needed; saved poses appear under Saved poses, with Move to pose, Delete, and a motion service or direct joint move setting.

Labels and behavior were read from src/lib/plugins/MoveFrame/ (MoveControls.svelte, MovePreview.svelte, savedPoses/) at tag v3.3.1 and rechecked at v3.4.0, the version production pins. Between those tags MoveFrame/ changed only import paths and how joint colliders draw in previews.

How I found these

  • Xref lookup: none (the visualization UI has no xref entry); backlog item viz-663a6728-move-mode-saved-poses, whose gate (app pins 3.3.0 or later) cleared with app#14466.
  • Grep matches: Preview move, Execute plan, move controls, arm-position-saver. docs/visualization/3d-scene/_index.md names Execute plan and Move and stays correct; the pick-and-place tutorial configures the same saver by hand and is left unchanged.

Generated by daily docs change agent


Generated by Claude Code

visualization#1178 (v3.3.0) splits Move mode's controls into Move and
Preview tabs and adds Save current pose with a Saved poses folder. The
app now pins @viamrobotics/visualization 3.3.1 (app#14466, app#14467),
so the 3D SCENE tab shows them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nja2XoBP1XaeGeYu6hasYM
@shannonbradshaw
Shannon Bradshaw (shannonbradshaw) requested review from Eliza Farley (elizafarley) and removed request for a team November 20, 2026 09:19
@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Nov 20, 2026
@netlify

netlify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 0b79082
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6b046123939df10255131c58
😎 Deploy Preview https://deploy-preview-5565--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 34 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

htmltest flagged /tutorials/pick-and-place/03-static-positions/; the page
publishes at /tutorials/pick-and-place/static-positions/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nja2XoBP1XaeGeYu6hasYM

Jeremy Rose (jeremyrose-viam) commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Docs review: Needs changes

This PR updates Move mode for the new Move and Preview tabs and adds a "Save an arm pose" section. The earlier should-fix and nit are both fixed in the latest commit. What remains is confirming the app's production deploy includes the visualization version that has these features.

Follow-up 2026-11-23: reviewed through 29ec35b65. 2 resolved, 2 still open, 0 disputed.

CI: All required checks passing

Docs health: No regressions

Released: Not checked for production: viamrobotics/visualization PR 1178 is in v3.4.1 and the app's main pins 3.4.0, but this review environment can't read app deployments.

Nits

  • docs/visualization/3d-scene/move-mode.md:28: "defaults to builtin, and resets to it" is true when the machine has a builtin motion service. Otherwise the default is the first motion service, or none (defaultMotionService, viamrobotics/visualization src/lib/plugins/MoveFrame/moveControls.ts:11-14). Fix: optional; say "defaults to builtin when the machine has it".

Needs owner sign-off

Claim Where Owning team Why unverified
The 3D SCENE tab shows the Move/Preview tabs and saved poses to users today docs/visualization/3d-scene/move-mode.md (whole page) Visualization The app's main pins a visualization version with these features and mounts <MoveFrame /> with no feature flag, but production deployments can't be read here. Confirm the latest production deploy includes the pin. No one has replied about this row.
Resolved since the first review (2)
  • Should fix: the saved-pose motion service sentence implied a free choice between a motion service and a direct joint move. The new text says the setting picks the planning service, and that the direct move applies only on a machine with no motion service, shown as none (direct joint move): viamrobotics/visualization src/lib/plugins/MoveFrame/savedPoses/SavedPoseControls.svelte:38,86,109 (v3.3.1).
  • Nit: the Move tab list implied travel and Collisions were exclusive to it. A new sentence says the Preview tab shows the same readouts.
Verified against source (new claims, 3)
  • A new saved pose uses the same default service as the move controls: savedPoses/SavePoseButton.svelte:58 and MoveControls.svelte:76, both through defaultMotionService
  • The motion service choice is local state in each frame's panel, so switching between the Move and Preview tabs keeps it: MoveControls.svelte:78,251,510
  • Each selected frame gets its own MoveControls panel, so the choice does not carry to another frame: src/lib/plugins/MoveFrame/MoveFrame.svelte:70-85

Automated review by Claude. Rerunning the review updates this comment.


Generated by Claude Code

Address review: a saved pose's motion service setting picks the planning
service, and a direct joint move happens only on a machine with no motion
service. Note that the Preview tab repeats travel and Collisions, and say
when the move controls' motion service choice resets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@elizafarley

Eliza Farley (elizafarley) commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Docs review: Ready to merge

This PR updates the Move mode page for the new Move and Preview tabs and adds a "Save an arm pose" section. After 1b91a0c56, 4b10228bc, and 0b790822c, every claim matches viamrobotics/visualization v3.4.0, the version production app pins. CI is still running on the new head, so check it passes before you merge.

CI: Pending on 0b790822c. No failures so far. Locally, prettier 3.2.5, markdownlint, vale, frontmatter_rules.py, and make build-prod all passed.

Docs health: No regressions

Released: All documented changes are live. Production app (8f809da, deployed 2026-11-23) pins @viamrobotics/visualization 3.4.0. Between v3.3.1 and v3.4.0, MoveFrame/ changed only import paths and how joint colliders draw in previews.

Resolved since the last review

  • Blocking, the ghost claim: line 63 now says that selecting a saved pose draws its ghost, which matches SavedPoses.svelte, where only Selected saved poses render a SavedPoseGhost.
  • Should fix, the empty motion service: the page now says a saved pose with no motion service needs one chosen before Move to pose works on a machine that has a motion service. This matches SavedPoseControls.svelte disabledReason.
  • Nit, Move mode scope: the paragraph now opens with "In Move mode", which matches MoveFrame.svelte, where <SavedPoses /> mounts inside {#if isMoveMode}.
  • 0b790822c removes the sentence that pointed to the pick-and-place tutorial's hand-configured savers. Docs health shows no regression on the tutorial or any other unchanged page.
  • Nit, the description pin: the PR description now names the production pin, 3.4.0.
Verified against source (19 claims)

All in viamrobotics/visualization at v3.4.0, src/lib/plugins/MoveFrame/, unless noted.

  • motion service, World state, and Constraints sit above the tabs, so both tabs use them: MoveControls.svelte (the DetailsPanel body before DetailsTabs)
  • Tabs are named Move and Preview: MoveControls.svelte tabs
  • Motion service defaults to builtin, or else the first service: moveControls.ts defaultMotionService
  • The service choice resets when you select another frame: MoveFrame.svelte keys each panel (entity), and selectedService is panel-local state
  • Switching tabs keeps the service choice: the selector is outside DetailsTabs
  • Target heading with world position, world orientation, and Reset: MoveControls.svelte moveTabContent
  • travel and Collisions are on both tabs: moveTab and previewTab
  • Move plans and runs in one step, and clears any preview first: executeMove
  • Preview move turns into Re-plan preview once a plan is ready: MovePreview.svelte:39
  • Preview move uses the target from the Move tab: usePreviewMove destination
  • Execute plan runs the previewed trajectory without replanning: executePreviewedMove calls the execute DoCommand
  • Save current pose shows only for arms: armClient.names.includes(frameName)
  • It saves the current joints, not the staged target: SavePoseButton.svelte uses armClient.currentPositions[arm]
  • It creates an erh:vmodutils:arm-position-saver and adds erh:vmodutils only when the model isn't already loaded: armPositionSaver.ts, SavePoseButton.svelte
  • Saving needs edit permission on the config: hasEditPermissions
  • The Saved poses folder exists only in Move mode: WorldTree/treeFolders.ts:50, MoveFrame.svelte {#if isMoveMode}
  • Only a selected saved pose draws a ghost: savedPoses/SavedPoses.svelte
  • The controls are Move to pose and Delete: SavedPoseControls.svelte
  • A saved pose with no service needs one chosen when the machine has one, and with no service on the machine the selector reads none (direct joint move): SavedPoseControls.svelte disabledReason, DIRECT_MOVE_LABEL

No feature flag gates Move mode or saved poses in app or visualization.

Automated review by Claude. Rerunning the review updates this comment.

Only a selected saved pose draws a ghost, the Saved poses folder exists
only in Move mode, and a saver with no motion service on a machine that
has one needs a service chosen before Move to pose is enabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@elizafarley
Eliza Farley (elizafarley) merged commit dcda567 into main Nov 23, 2026
14 checks passed
@elizafarley
Eliza Farley (elizafarley) deleted the claude/update-move-mode-tabs-saved-poses branch November 23, 2026 15:55
@github-actions

Copy link
Copy Markdown

🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants