API & MCP

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

HTTP API

Kinetica Trajectory Planner

Plans a robot motion program from waypoints: synchronous joint moves (PTP), straight TCP lines (LIN) and circular arcs (CIRC) with trapezoidal, quintic or jerk-limited S-curve profiles that respect the joint velocity and acceleration limits, blend radii and dwell times. Returns the cycle time, per-segment timing, peak joint velocities and accelerations, a sampled joint/TCP trajectory and a CSV.

Inputs of Kinetica Trajectory 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.
waypointstable—Waypoints. Row 1 is the start. Target “j: 0, -90, 90, 0, 0, 0” (joints) or “p: x, y, z, roll, pitch, yaw” (TCP pose, mm/deg). PTP speed/accel in % of the joint limits; LIN/CIRC in mm/s and mm/s². CIRC needs a via point “x, y, z”.
projectJsontextarea—Kinetica project JSON (optional). A complete .kinetica.json project; when given, its robot, work objects and program are used instead of the fields above.
profileselect (trapezoid, quintic, scurve)"trapezoid"Velocity profile
overridenumber100Speed override
outputDtnumber0.05Output sample period

Example request

6-axis arm: two PTP moves and a LIN line

curl -X POST https://kineticatrajectoryplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","profile":"trapezoid","waypoints":[{"name":"Home","type":"PTP","target":"j: 0, 0, 0, 0, 90, 0"},{"name":"Above","type":"PTP","target":"p: 800, -200, 700, 180, 0, 0","vel":80,"acc":80,"blend":30},{"name":"Line","type":"LIN","target":"p: 800, 200, 700, 180, 0, 0","vel":250,"acc":1500},{"name":"Home","type":"PTP","target":"j: 0, 0, 0, 0, 90, 0","vel":100,"acc":100}]}'

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-trajectory-planner": { "type": "http", "url": "https://kineticatrajectoryplanner.usefulweb.site/mcp" }
  }
}