Document robot client GetPose, UploadDataFromPath, and missing TransformPCD/RestartModule methods#5185
Document robot client GetPose, UploadDataFromPath, and missing TransformPCD/RestartModule methods#5185btshrewsbury-viam wants to merge 3 commits into
Conversation
…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.
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
|
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 |
|
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) |
|
Hey btshrewsbury-viam — this PR has been approved and CI has been green for 3+ business days. Ready to merge? Auto-comment from overwatch. Will not re-nudge for 7 days. |
|
I just exposed the API in the SDK, so it was a pretty mechanical change; I didn't implement the API itself. The explanation makes sense to me, though. |

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) — new proto row. Wraps theRobotService.GetPoseRPC: returns a component's pose in the machine's frame system relative to a destination frame, with optional supplemental transforms.upload_data_from_path) — new proto row. Uploads a file or folder from the machine to the Viam cloud.transform_pcd) on the already-documented proto row.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 viaupdate_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