Skip to content
Fourohtwo

iot.halowerk.com/v1/robotic-path-clearance

Computes the minimum Euclidean distance from each circular obstacle center to every path segment, then subtracts obstacle radius and robot radius. It detects planar static clearance only; it does not model robot shape beyond a circle, dynamics, uncertainty or moving obstacles.

BaseAnswering
POSThttps://iot.halowerk.com/v1/robotic-path-clearance

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://iot.halowerk.com/v1/robotic-path-clearance", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"obstacles":[{"id":"rack-7","radius":0.5,"x":5,"y":1.5},{"id":"post-2","radius":0.4,"x":8,"y":4}],"path":[{"x":0,"y":0},{"x":5,"y":0},{"x":10,"y":5}],"required_margin":0.2,"robot_radius":0.6}),
});
console.log(await res.json());

Example input

{
  "obstacles": [
    {
      "id": "rack-7",
      "radius": 0.5,
      "x": 5,
      "y": 1.5
    },
    {
      "id": "post-2",
      "radius": 0.4,
      "x": 8,
      "y": 4
    }
  ],
  "path": [
    {
      "x": 0,
      "y": 0
    },
    {
      "x": 5,
      "y": 0
    },
    {
      "x": 10,
      "y": 5
    }
  ],
  "required_margin": 0.2,
  "robot_radius": 0.6
}