API & MCP

Everything a person can do on Kinetica Collision-Free Path Planner, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Kinetica Collision-Free Path Planner

Plans a collision-free motion for a serial robot between two configurations (or to a TCP pose through IK) around box, sphere, capsule and cylinder obstacles and the robot itself. A seeded RRT-Connect search in joint space finds a path, shortcut smoothing removes detours, corners are rounded within a deviation bound, and a time-optimal parameterisation keeps every joint inside its velocity and acceleration limits. Returns the via points, the timed trajectory, CSV/JSON exports, clearance and singularity warnings — or says honestly that no path was found.

Inputs of Kinetica Collision-Free Path Planner
FieldTypeDefaultDescription
robotselect (kx6-1400, ur5-like, puma560, scara-550, gantry-xyz, planar2, custom-dh, urdf, json)"kx6-1400"Robot. A library robot, or choose a custom DH table, URDF or Kinetica robot JSON.
conventionselect (dh, mdh)"dh"DH convention (custom table)
dhtable—DH table (custom). One row per joint. Lengths in mm, angles in degrees. For revolute joints θ is the zero offset, for prismatic joints d is.
robotTexttextarea—URDF or robot JSON. Used when Robot is “URDF” or “Kinetica robot JSON”. URDF subset: links with box/cylinder/sphere, revolute/continuous/prismatic/fixed joints.
tooltext—Tool offset (TCP). x, y, z (mm), roll, pitch, yaw (deg) in the flange frame, e.g. “0, 0, 150, 0, 0, 0”. Empty = robot default.
projectJsontextarea—Kinetica project JSON (optional). A complete .kinetica.json project; its robot and obstacles are used instead of the robot fields (table obstacles are added). An empty start uses the project’s current pose.
starttext—Start joints. Comma-separated joint values (deg / mm). Empty = home pose.
goal (required)text—Goal. Joint values (“j: 60, 30, 20, 0, 40, 0” or just the numbers) or a TCP pose “p: x, y, z, roll, pitch, yaw” (mm, deg) solved by IK.
obstaclestable—Obstacles. Box: centre x, y, z and size sx, sy, sz. Sphere: centre and r. Capsule or cylinder: start x, y, z, end x2, y2, z2 (in the size columns) and r. All in mm, world frame.
marginnumber5Safety margin
selfbooleantrueAvoid self-collision
velocitynumber100Velocity limit. Share of every joint’s velocity limit.
accelerationnumber100Acceleration limit. Share of every joint’s acceleration limit.
deviationnumber3Corner blend deviation. Largest deviation of the rounded corners from the checked path, in % of the joint ranges. 0 = stop at every via point.
seedinteger1Random seed
maxIterationsinteger3000Max iterations
outputDtnumber0.05Output sample period

Example request

6-axis arm swings around a wall in front of it

curl -X POST https://kineticapathplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","start":"-60, 30, 20, 0, 40, 0","goal":"j: 60, 30, 20, 0, 40, 0","obstacles":[{"name":"Wall","shape":"box","x":800,"y":0,"z":600,"sx":400,"sy":200,"sz":1200}],"margin":5}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "kinetica-path-planner": { "type": "http", "url": "https://kineticapathplanner.usefulweb.site/mcp" }
  }
}