API & MCP

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

HTTP API

Kinetica Collision Check

Checks a robot configuration against box, sphere, capsule and cylinder obstacles and against itself. Robot links are modelled as capsules and boxes; the tool reports every pair closer than the safety margin, the minimum clearance and the closest pair, using exact segment–segment distances and an exact convex search for capsule–box distances.

Inputs of Kinetica Collision Check
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.
jointstext—Joint values. Degrees / mm. Empty = home pose.
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.
selfbooleantrueCheck self-collision
marginnumber10Safety margin

Example request

6-axis arm above a table (clear)

curl -X POST https://kineticacollisioncheck.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","joints":"0, 0, 0, 0, 90, 0","obstacles":[{"name":"Table","shape":"box","x":900,"y":0,"z":350,"sx":700,"sy":900,"sz":700}],"margin":10}'

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-collision-check": { "type": "http", "url": "https://kineticacollisioncheck.usefulweb.site/mcp" }
  }
}