Skip to content

Document robot client GetPose, UploadDataFromPath, and missing TransformPCD/RestartModule methods#5185

Open
btshrewsbury-viam wants to merge 3 commits into
mainfrom
docs/api-robot-methods
Open

Document robot client GetPose, UploadDataFromPath, and missing TransformPCD/RestartModule methods#5185
btshrewsbury-viam wants to merge 3 commits into
mainfrom
docs/api-robot-methods

Conversation

@btshrewsbury-viam

Copy link
Copy Markdown
Collaborator

What this adds

Four machine/robot API methods that exist in released SDKs but were missing from the Machine Management API reference, flagged by the weekly SDK method coverage job (#5142):

  • GetPose (TypeScript getPose) — new proto row. Wraps the RobotService.GetPose RPC: returns a component's pose in the machine's frame system relative to a destination frame, with optional supplemental transforms.
  • UploadDataFromPath (Python upload_data_from_path) — new proto row. Uploads a file or folder from the machine to the Viam cloud.
  • TransformPCD — fills the missing Python method (transform_pcd) on the already-documented proto row.
  • RestartModule — fills the missing Flutter method (restartModule) on the already-documented proto row.

How

CSV rows/columns in sdk_protos_map.csv, proto description override files for the two new protos, and regenerated robot API markdown via update_sdk_methods.py (the regeneration also picks up the /reference//dev/reference/ link drift in the table).

Verification

Full local coverage run on this branch: all four warnings cleared, no missing-override warnings, sections render with the scraped signatures.

Part of a series addressing the #5142 warning backlog (see also #5184).

Refs #5142

…on), RestartModule (Flutter)

Four robot API methods existed in released SDKs but were missing from
the API reference, flagged by the SDK method coverage job:

- GetPose (TypeScript): the RobotService GetPose RPC, returning a
  component's pose in the frame system relative to a destination frame.
- UploadDataFromPath (Python): upload a file or folder from the machine
  to the Viam cloud.
- TransformPCD: the Python method (transform_pcd) for the existing
  documented proto row.
- RestartModule: the Flutter method (restartModule) for the existing
  documented proto row.

Adds CSV rows/columns, proto description overrides for the two new
protos, and regenerates the robot API markdown.

Refs #5142.
@netlify

netlify Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 6a95929
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6a564e8fb9a6840008b1ddbd
😎 Deploy Preview https://deploy-preview-5185--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: 42 (🟢 up 1 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.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Jul 13, 2026
Two CI fixes for the robot API regeneration:

- The docs restructure moved the API reference from /dev/reference/apis
  to /reference/apis, but the generator still hardcoded the old prefix,
  so the regenerated table links pointed at alias stubs and htmltest
  failed. Update the prefixes (same fix as #5184) and regenerate.
- The scraped transform_pcd parameter descriptions from the Python SDK
  contain 'i.e.', which the vale style rules reject. Add parameter
  description override files with equivalent wording.
@btshrewsbury-viam

Copy link
Copy Markdown
Collaborator Author

Merge order: independent — can merge any time, before or after #5184 (it is based on main and touches only the robot API files). It duplicates #5184's /dev/reference→/reference generator fix in identical hunks, so whichever merges second resolves cleanly.

Issue linkage: refs #5142 but does not close it (see #5184's comment for the full picture; remaining warnings tracked in #5188/#5189/#5190).


Generated by Claude Code

@btshrewsbury-viam

Copy link
Copy Markdown
Collaborator Author

Nick Hehr (@HipsterBrown) Devin T. Currie (@DTCurrie) would you mind reviewing please? Claude thinks you two might have introduced getPose and transform_pcd. (Clint would have been on the hook for the others, but is on leave)

Comment thread static/include/robot/apis/generated/robot.md Outdated
Comment thread static/include/robot/apis/generated/robot.md Outdated
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.

3 participants