{"uid":"cap_zjHEWvyMFv7qhee4evx_J","slug":"rqm-compare-planned-observed-trajectories-96885375","name":"RQM Compare Planned Observed Trajectories","description":"Problem: Compare planned and observed trajectories against caller tolerances. Input: JSON with planned, observed, rules. Result: typed verdict, measured metrics, candidate only when verified. Limits: Software/model evidence only; 65536 request bytes; 5 s execution.","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/robotics.compare-planned-observed-trajectories.v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"TrajectoryCompareRequest","required":["planned","observed","rules"],"properties":{"rules":{"type":"object","title":"Rules","required":["maximum_rmse","maximum_absolute_error"],"properties":{"maximum_rmse":{"type":"number","title":"Maximum Rmse","maximum":1000000000,"minimum":0},"maximum_absolute_error":{"type":"number","title":"Maximum Absolute Error","maximum":1000000000,"minimum":0}},"additionalProperties":false},"planned":{"type":"array","items":{"type":"object","title":"Point","required":["timestamp_s","values"],"properties":{"values":{"type":"array","items":{"type":"number"},"title":"Values","maxItems":12,"minItems":1},"timestamp_s":{"type":"number","title":"Timestamp S","maximum":86400,"minimum":0}},"additionalProperties":false},"title":"Planned","maxItems":4096,"minItems":2},"observed":{"type":"array","items":{"type":"object","title":"Point","required":["timestamp_s","values"],"properties":{"values":{"type":"array","items":{"type":"number"},"title":"Values","maxItems":12,"minItems":1},"timestamp_s":{"type":"number","title":"Timestamp S","maximum":86400,"minimum":0}},"additionalProperties":false},"title":"Observed","maxItems":4096,"minItems":2},"observed_delay_seconds":{"type":"number","title":"Observed Delay Seconds","default":0,"maximum":3600,"minimum":-3600}},"additionalProperties":false},"schema_version":{"const":"rqm.jobs.bazaar-buyer-job-request.v1"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","maxLength":128,"minLength":1},"max_total_price":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__Nr0p6YRJ_jQiIdNniokb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares planned and observed robot trajectories against caller-supplied RMSE and absolute error tolerances, returning pass/fail metrics.","exampleAgentPrompt":"Compare the planned trajectory (sampled at timestamps 0.0, 0.5, 1.0 s with joint values) against what the robot actually executed, and tell me whether it passes with a maximum RMSE of 0.05 and maximum absolute error of 0.1.","exampleUseCases":[{"title":"Robot arm post-execution audit","prompt":"After the robot arm finished its pick-and-place run, compare the planned joint-space trajectory against the logged observed positions — flag it as failed if the RMSE exceeds 0.02 or any absolute error goes above 0.08."},{"title":"Mobile robot path tracking validation","prompt":"I have the planned waypoints and the GPS-logged actual path for our delivery bot from today's run. Check whether the tracking error is within our tolerance of 0.1 RMSE and 0.25 max absolute error, and tell me the computed metrics."},{"title":"CI regression check for motion controller","prompt":"As part of our nightly CI pipeline, compare the reference planned trajectory for test case #47 against the simulated observed output, and fail the build if RMSE exceeds 0.01 or absolute error exceeds 0.03."}],"resultDescription":"Returns computed trajectory comparison metrics including RMSE and maximum absolute error across all dimensions and timesteps, along with a pass/fail result based on the caller-supplied tolerance rules.","failureModes":["Planned and observed arrays have fewer than 2 points — rejected with validation error","Values arrays contain more than 12 dimensions — schema violation","Timestamps fall outside 0–86400 s range — rejected","RMSE or absolute error tolerance set to invalid (negative) value — rejected","Mismatch in dimensionality between planned and observed points — likely computation error or rejection","Request exceeds 4096 points per trajectory — rejected at schema level"],"whenToPreferThis":"Use this endpoint when you need a deterministic, rules-based comparison of planned vs. observed robot trajectories using caller-supplied RMSE and absolute-error thresholds. Prefer it over general statistics APIs when the domain is robotics motion data and you need a bounded, typed result scoped to trajectory tracking. Do not use for physical safety certification, live hardware control, or when you need smoothing or optimization — sibling endpoints cover those.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:46:27.376Z","isFirstParty":false}