srdf
यह क्या करती है
यह स्किल आपके AI को SRDF फ़ाइलें लिखने और जाँचने में मार्गदर्शन देती है, जो रोबोट के URDF के साथ जाने वाला MoveIt planning विवरण है। यह उन रोबोटिक्स इंजीनियरों के लिए है जो motion planning सेट करते हैं।
कब इस्तेमाल करें
- ✓जब आप MoveIt इस्तेमाल करने वाले रोबोट के लिए SRDF फ़ाइल बनाते या संपादित करते हैं।
- ✓जब आपको planning groups, end effectors या group states परिभाषित करने हैं।
- ✓जब आप जाँचना चाहते हैं कि कौन सी collision जोड़ियाँ निष्क्रिय होनी चाहिए।
Skill का लिंक
https://github.com/earthtojake/text-to-cad/blob/main/skills/srdf/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी छह-अक्ष भुजा के लिए SRDF बना सकते हैं, जिसमें भुजा के लिए planning group और ग्रिपर के लिए end effector हो?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI रोबोट के URDF के link और joint नाम पढ़ता है, फिर उनसे planning groups और संबंधित सेटिंग्स लिखता है। वह परिणाम को सत्यापित करता है और नामों का अनुमान लगाने से बचता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
SRDF
Use this skill for MoveIt semantic robot descriptions on top of an existing valid URDF. SRDF defines planning semantics; it does not define physical robot structure. The .srdf file is the source of truth: author and edit the XML directly.
SRDF correctness is a planning semantics problem. The common failure is not invalid XML; it is a plausible SRDF that gives MoveIt the wrong planning group, wrong tool link, wrong default state, unsafe disabled-collision matrix, or wrong joint units. Because language models are weak at spatial and kinematic reasoning, derive planning groups, end effectors, group states, and disabled collisions from the URDF topology, MoveIt Setup Assistant output, sampled collision analysis, or explicit user data. Do not infer them from visual theme alone — and do not type any link or joint name from memory: extract the URDF's link/joint table first and copy names from it.
Setup
Run the cad command (~/.local/bin/cad where ~/.local/bin is not on your PATH, or where a
project's environment puts its own cad first; cad.cmd on Windows). If cad is not found and
the CAD app was only just added, its server may still be starting: wait five seconds and run the
command again, for up to a minute, before anything else. Otherwise install text-to-cad, outside a sandbox or with its permission:
curl -fsSL https://texttocad.dev/install.sh | sh
On Windows, in PowerShell: irm https://www.texttocad.dev/install.ps1 | iex. Any other failure
says what to do, and cad doctor explains the installation.
Format boundary
- URDF owns physical robot structure: links, joints, geometry, inertials, limits, mimic joints, transmissions, and robot-state publishing.
- SRDF owns MoveIt semantics: virtual joints, passive joints, planning groups, group states, end effectors, and disabled collision pairs.
- SDF owns simulator/world semantics: physics, sensors, lights, plugins, worlds, and simulation-specific metadata.
Do not place geometry, inertials, joint origins, link poses, mesh references, physical joint limits, transmissions, or ros2_control interfaces in SRDF.
Show the model
Show the user each model you create or change, and any model or file they ask to see.
A file you export is a download: give its path, do not open it.
Snapshots and validation don't replace this. Never screenshot the viewer to confirm your
own work; review with cad snapshot.
If your tools include
cad_show(your host may prefix it), call it with the model's id or the file's absolute path, and follow its description for when to call it again. The other tools depend on the host. A host that draws CAD cards or tabs (Claude Desktop, the Codex app) also hascad_view, which reads what the user selected, andcad_screenshot, which shows you what they see, both of a card or tab that is open, for when they ask about it. A text host (Claude Code in a terminal,codex exec) draws nothing: itscad_showopens the model's page in the user's browser and answers with the URL to give them, and it has no view to read.cad_inspect,cad_snapshotandcad_exportare on every host. Call only the tools you have, and never say a card shows a model when your host drew none.Otherwise give the user the page's link once: a model's page is the
view:line its run prints. For a file, run the CAD Viewer, from any folder:cad viewer --json FILE [FILE ...]The command ensures this installation's server, registers each file and prints its page,
/<id>, then exits. Read each file'surlfromdocumentsin its one JSON line (never guess the port); the URL carries its token query. A page follows every later run of its model and every rewrite of its file, so share it once. Return that link to the user. If it fails to launch, say so.
An .srdf you write is the robot's model, not an export: show it. Keep the SRDF
beside its uniquely matching URDF (same robot name). Review
planning groups, named states and joints; visual review does not prove planning
correctness.
Required workflow
- Start from a valid URDF. Author or fix the URDF first and validate it (
cad urdf validate). The SRDF pairs with that URDF by colocation and robot name, and every name in the SRDF must exist in it. - Extract the URDF table. Before writing any SRDF XML, list the URDF's robot name, links, joints (with type, parent, child, limits, mimic flags). Copy names from this t
अक्सर पूछे जाने वाले सवाल
SRDF क्या है?
यह MoveIt की वह फ़ाइल है जिसमें planning सेटिंग्स होती हैं, जो रोबोट के URDF के ऊपर बैठती हैं।
क्या यह रोबोट का आकार बताती है?
नहीं। रोबोट की संरचना URDF फ़ाइल में वर्णित होती है।
क्या पहले मुझे URDF चाहिए?
हाँ। स्किल मौजूदा वैध URDF के ऊपर काम करती है।
जानकारी
लेखक का मूल विवरण
MoveIt2 SRDF authoring, validation, and planning-semantics workflow. Use when creating, editing, inspecting, or validating `.srdf` files, MoveIt planning groups, virtual joints, passive joints, end effectors, group states, disabled collisions, URDF-paired planning semantics, or SRDF handoff for live review. Covers MoveIt planning semantics, not the robot's structure (URDF) or simulator descriptions (SDF). Open and visually review existing SRDF files in CAD Viewer.
repo: earthtojake/text-to-cad
लोकप्रियता
- GitHub स्टार
- 25k
- रैंकिंग में स्थान
- #10075
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
bambu-labs
25kयह आपके एजेंट को Bambu Connect या Bambu Studio के ज़रिए slice किया या बिना slice का 3D मॉडल Bambu Lab प्रिंटर पर भेजने में मदद करती है।
cad
25kयह आपके एजेंट को 3D पुर्ज़ों और असेंबली को Python build123d स्क्रिप्ट के रूप में डिज़ाइन करने, उन्हें STEP या STL फ़ाइलों में निर्यात करने और उनके माप जाँचने में मदद करती है।
dfam-check
25kयह आपके एजेंट को जाँचने में मदद करती है कि 3D mesh फ़ाइल ठीक से प्रिंट हो सकती है या नहीं, और overhangs, दीवार की मोटाई व सपोर्ट की ज़रूरत बताती है।
dfm
25kयह आपके एजेंट को शीट मेटल, CNC मशीनिंग या इंजेक्शन मोल्डिंग के लिए पुर्ज़े की समीक्षा करने में मदद करती है, यह जाँचने के लिए कि वह बन सकता है या नहीं और क्या बदलना है।
मिलती-जुलती skills
blucli
394kयह आपके एजेंट को blu कमांड से Bluesound और NAD स्पीकर खोजने, चलाने, रोकने, समूह बनाने और वॉल्यूम बदलने में मदद करती है।
camsnap
394kयह आपके एजेंट को नेटवर्क कैमरों और लोकल webcam से स्नैपशॉट, छोटी क्लिप या मोशन इवेंट लेने में मदद करती है, जो आपने सेट किए हों।
eightctl
394kयह आपके एजेंट को Eight Sleep pod की जांच और नियंत्रण करने में मदद करती है, जिसमें तापमान, अलार्म और नींद की समय-सारणी शामिल हैं।