<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta name="google-site-verification" content="PENDING_VERIFICATION" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RobotParts DB - 机器人配件协议知识引擎</title>
<meta name="description" content="机器人配件、芯片、通信协议、大模型、接口标准一站式对比查询。执行器/舵机/计算平台/协议兼容性数据库。">
<meta name="keywords" content="机器人配件,舵机,执行器,机器人芯片,EtherCAT,CANopen,ROS2,机器人大模型,接口标准">
<meta property="og:title" content="RobotParts DB - 机器人配件协议知识引擎">
<meta property="og:description" content="10+执行器、7+芯片、8+协议、7+大模型、5+接口标准。配件兼容性一站式查询。">
<meta property="og:type" content="website">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🤖</text></svg>">
<style>
:root{--bg:#0a0e1a;--bg2:#111827;--bg3:#1a2236;--border:#1e2d4a;--text:#e2e8f0;--text2:#94a3b8;--accent:#3b82f6;--accent2:#f59e0b;--green:#10b981;--red:#ef4444;--cyan:#06b6d4;--purple:#8b5cf6}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
a{color:var(--accent);text-decoration:none}
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(10,14,26,0.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;height:56px;gap:24px}
.nav-logo{font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;color:#fff}
.nav-logo span{background:linear-gradient(135deg,var(--accent),var(--cyan));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.nav-links{display:flex;gap:16px;margin-left:auto}
.nav-links a{color:var(--text2);font-size:14px;transition:color .2s}
.nav-links a:hover{color:var(--accent)}
.hero{padding:100px 24px 40px;text-align:center}
.hero h1{font-size:2.2em;margin-bottom:12px;background:linear-gradient(135deg,var(--accent),var(--cyan),var(--purple));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero p{color:var(--text2);max-width:600px;margin:0 auto 24px}
.stats{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin-bottom:32px}
.stat{text-align:center;padding:12px 20px;background:var(--bg2);border-radius:12px;border:1px solid var(--border);min-width:100px}
.stat-num{font-size:1.8em;font-weight:800;background:linear-gradient(135deg,var(--accent),var(--cyan));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.stat-label{font-size:12px;color:var(--text2)}
.search-box{max-width:600px;margin:0 auto 24px;position:relative}
.search-box input{width:100%;padding:14px 20px;background:var(--bg2);border:1px solid var(--border);border-radius:12px;color:var(--text);font-size:16px;outline:none}
.search-box input:focus{border-color:var(--accent)}
.tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:32px}
.tab{padding:8px 20px;border-radius:8px;background:var(--bg2);border:1px solid var(--border);color:var(--text2);cursor:pointer;font-size:14px;transition:all .2s}
.tab:hover,.tab.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.section{max-width:1200px;margin:0 auto;padding:0 24px 40px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.card{background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:20px;cursor:pointer;transition:all .2s}
.card:hover{border-color:var(--accent);transform:translateY(-2px)}
.card-title{font-size:16px;font-weight:700;margin-bottom:8px}
.card-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.tag{padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600}
.tag-actuator{background:rgba(59,130,246,0.15);color:var(--accent)}
.tag-chip{background:rgba(139,92,246,0.15);color:var(--purple)}
.tag-protocol{background:rgba(6,182,212,0.15);color:var(--cyan)}
.tag-llm{background:rgba(245,158,11,0.15);color:var(--accent2)}
.tag-interface{background:rgba(16,185,129,0.15);color:var(--green)}
.tag-pro{background:rgba(245,158,11,0.15);color:var(--accent2)}
.card-specs{display:grid;grid-template-columns:1fr 1fr;gap:4px;font-size:12px;color:var(--text2);margin-top:8px}
.card-specs span{color:var(--text);font-weight:500}
.compatibility-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:4px;font-size:11px;background:rgba(16,185,129,0.15);color:var(--green)}
.modal{display:none;position:fixed;inset:0;z-index:200;background:rgba(0,0,0,0.7);align-items:center;justify-content:center;padding:20px}
.modal.active{display:flex}
.modal-body{background:var(--bg2);border:1px solid var(--border);border-radius:16px;max-width:700px;width:100%;max-height:80vh;overflow-y:auto;padding:28px}
.modal-close{float:right;background:none;border:none;color:var(--text2);font-size:24px;cursor:pointer}
.modal-section{margin-top:16px}
.modal-section h4{font-size:13px;color:var(--text2);margin-bottom:6px;text-transform:uppercase;letter-spacing:0.5px}
.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.spec-item{background:var(--bg3);padding:8px 12px;border-radius:6px}
.spec-item .label{font-size:11px;color:var(--text2)}
.spec-item .value{font-size:14px;font-weight:600}
.pro-cta{padding:12px 24px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:#000;border:none;border-radius:8px;font-weight:700;font-size:16px;cursor:pointer}
.footer{text-align:center;padding:40px 24px;color:var(--text2);font-size:13px;border-top:1px solid var(--border)}
@media(max-width:768px){.grid{grid-template-columns:1fr}.stats{gap:12px}.hero h1{font-size:1.6em}}

/* Anti-scraping CSS */
.detail-val, .entity-desc {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.detail-val::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
/* Honeypot - invisible to humans */
.honey-link {
  display: none !important;
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}


@media(max-width:768px){div[style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:1fr!important}}
</style>
</head>
<body>
<nav class="nav"><div class="nav-inner">
  <div class="nav-logo">🤖 <span>RobotParts DB</span></div>
  <div class="nav-links">
    <a href="#" onclick="switchTab('actuators')">执行器</a>
    <a href="#" onclick="switchTab('chips')">芯片</a>
    <a href="#" onclick="switchTab('protocols')">协议</a>
    <a href="#" onclick="switchTab('llms')">大模型</a>
    <a href="#" onclick="switchTab('interfaces')">接口</a>
    <a href="#" onclick="showPro()" style="color:var(--accent2);font-weight:600">⭐ Pro</a>
  </div>
  <a href="https://genetech.tools/credits.html" target="_blank" style="color:#f59e0b;font-weight:600">💎 Pricing</a>

    <a href="https://genetech.tools/banned-words" style="color:#ff6b6b;font-weight:600" target="_blank">🛡️ 违禁词检测</a>
      </div></nav>

<div class="hero">
  <h1>🤖 机器人配件协议知识引擎</h1>
  <p>执行器、芯片、通信协议、大模型、接口标准 — 一站式对比查询与兼容性分析</p>
  <div class="stats" id="statsContainer"></div>
  <div class="search-box">
    <input type="text" id="searchInput" placeholder="搜索配件、协议、芯片... 如 DYNAMIXEL、EtherCAT、Jetson" oninput="handleSearch(this.value)">
  </div>
  <div class="tabs" id="tabContainer">
  <!-- 三大板块入口 -->
  <div style="max-width:1200px;margin:0 auto 30px;padding:0 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px">
    <!-- 板块① 知识库 -->
    <div style="background:var(--bg2);border:2px solid #f97316;border-radius:16px;padding:20px;position:relative;overflow:hidden">
      <div style="position:absolute;top:0;right:0;background:#f97316;color:#000;font-size:10px;font-weight:700;padding:3px 10px;border-radius:0 0 0 8px">板块①</div>
      <div style="font-size:28px;margin-bottom:8px">⚙️</div>
      <div style="font-size:16px;font-weight:700;color:#f97316;margin-bottom:4px">知识库</div>
      <div style="font-size:12px;color:var(--text2);margin-bottom:12px">11实体 · 6平台 · 5传感器</div>
      <div style="display:flex;gap:6px;flex-wrap:wrap">
        <a href="#" style="font-size:11px;padding:4px 10px;background:rgba(255,255,255,0.08);color:#f97316;border-radius:8px;text-decoration:none">浏览数据</a>
        <a href="/api/data.json" target="_blank" style="font-size:11px;padding:4px 10px;background:rgba(255,255,255,0.08);color:#f97316;border-radius:8px;text-decoration:none">API</a>
        <a href="/llms.txt" target="_blank" style="font-size:11px;padding:4px 10px;background:rgba(255,255,255,0.08);color:#f97316;border-radius:8px;text-decoration:none">LLM索引</a>
      </div>
    </div>
    <!-- 板块③ Pro变现 -->
    <div style="background:var(--bg2);border:2px solid #f59e0b;border-radius:16px;padding:20px;position:relative;overflow:hidden">
      <div style="position:absolute;top:0;right:0;background:#f59e0b;color:#000;font-size:10px;font-weight:700;padding:3px 10px;border-radius:0 0 0 8px">板块③</div>
      <div style="font-size:28px;margin-bottom:8px">💎</div>
      <div style="font-size:16px;font-weight:700;color:#f59e0b;margin-bottom:4px">Pro 订阅</div>
      <div style="font-size:12px;color:var(--text2);margin-bottom:12px">完整数据库 · API访问 · MCP Server · 从$19/月</div>
      <div style="display:flex;gap:6px;flex-wrap:wrap">
        <a href="/credits.html" style="font-size:11px;padding:4px 10px;background:rgba(245,158,11,0.15);color:#f59e0b;border-radius:8px;text-decoration:none">💎 定价</a>
        <a href="/order.html" style="font-size:11px;padding:4px 10px;background:rgba(245,158,11,0.15);color:#f59e0b;border-radius:8px;text-decoration:none">🛒 订购</a>
        <a href="/api/openapi.json" target="_blank" style="font-size:11px;padding:4px 10px;background:rgba(245,158,11,0.15);color:#f59e0b;border-radius:8px;text-decoration:none">🔌 API</a>
      </div>
    </div>
  </div>

  <!-- 场景化CTA -->
  <div style="max-width:1200px;margin:0 auto 30px;padding:0 20px">
    <div style="background:linear-gradient(135deg,var(--bg2),var(--bg3));border:1px solid var(--border);border-radius:16px;padding:24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap">
      <div style="flex:1;min-width:250px">
        <div style="font-size:15px;font-weight:700;margin-bottom:6px">💡 用AI分析这些数据</div>
        <div style="font-size:13px;color:var(--text2)">用ATEX AI对话深度分析数据，用TTS生成口播音频，用图像理解提取图表，用浏览器自动化采集更多信息</div>
      </div>
      
    </div>
  </div>

</div>
</div>

<div class="section"><div class="grid" id="cardGrid"></div></div>

<div class="modal" id="modal" onclick="if(event.target===this)closeModal()">
  <div class="modal-body"><button class="modal-close" onclick="closeModal()">&times;</button><div id="modalContent"></div></div>
</div>

<div class="footer">
  <p>🤖 RobotParts DB — 机器人配件协议知识引擎 | <a href="https://genetech.tools">GeneTech Tools</a> | <a href="https://tcm.genetech.tools">TCMDB</a></p>
  <p style="margin-top:8px">数据持续更新 · 采集自厂商手册、ROS2文档、ISO标准</p>
</div>

<script src="data.js"></script>
<script>
// Stats
document.getElementById('statsContainer').innerHTML = [
  {n:DB.stats.actuators,l:'执行器',e:'⚡'},
  {n:DB.stats.chips,l:'芯片',e:'🔲'},
  {n:DB.stats.protocols,l:'协议',e:'📡'},
  {n:DB.stats.llms,l:'大模型',e:'🧠'},
  {n:DB.stats.interfaces,l:'接口',e:'🔌'},
  {n:DB.stats.relations,l:'关系',e:'🔗'}
].map(s=>`<div class="stat"><div class="stat-num">${s.e} ${s.n}</div><div class="stat-label">${s.l}</div></div>`).join('');

// Tabs
const TABS = ['actuators','chips','protocols','llms','interfaces'];
const TAB_NAMES = {actuators:'⚡ 执行器',chips:'🔲 芯片',protocols:'📡 协议',llms:'🧠 大模型',interfaces:'🔌 接口'};
let currentTab = 'actuators';

document.getElementById('tabContainer').innerHTML = TABS.map(t =>
  `<div class="tab ${t===currentTab?'active':''}" onclick="switchTab('${t}')">${TAB_NAMES[t]}</div>`
).join('');

function switchTab(tab) {
  currentTab = tab;
  document.querySelectorAll('.tab').forEach((el,i) => el.classList.toggle('active', TABS[i]===tab));
  renderCards();
}

function renderCards(filter='') {
  const items = DB[currentTab] || [];
  const q = filter.toLowerCase();
  const filtered = q ? items.filter(i => JSON.stringify(i).toLowerCase().includes(q)) : items;
  const grid = document.getElementById('cardGrid');
  
  if (!filtered.length) { grid.innerHTML = '<div style="color:var(--text2);padding:20px">未找到匹配结果</div>'; return; }
  
  grid.innerHTML = filtered.map(item => {
    const tagClass = 'tag-' + currentTab.replace(/s$/,'');
    const name = item.name || '';
    const manufacturer = item.manufacturer || '';
    const type = item.type || item.category || '';
    
    let specs = '';
    if (currentTab === 'actuators') specs = `<div class="card-specs"><div>扭矩: <span>${item.torque||'N/A'}</span></div><div>速度: <span>${item.speed||'N/A'}</span></div><div>电压: <span>${item.voltage||'N/A'}</span></div><div>协议: <span>${item.protocol||'N/A'}</span></div></div>`;
    else if (currentTab === 'chips') specs = `<div class="card-specs"><div>CPU: <span>${item.cpu||'N/A'}</span></div><div>AI: <span>${item.ai_perf||'N/A'}</span></div><div>功耗: <span>${item.tdp||'N/A'}</span></div><div>价格: <span>${item.price_range||'N/A'}</span></div></div>`;
    else if (currentTab === 'protocols') specs = `<div class="card-specs"><div>速度: <span>${item.speed||'N/A'}</span></div><div>延迟: <span>${item.latency||'N/A'}</span></div><div>节点: <span>${item.max_nodes||'N/A'}</span></div><div>标准: <span>${item.standard||'N/A'}</span></div></div>`;
    else if (currentTab === 'llms') specs = `<div class="card-specs"><div>参数: <span>${item.parameters||'N/A'}</span></div><div>开源: <span>${item.open_source?'✅':'❌'}</span></div><div>具身: <span>${item.embodied_ai?'✅':'❌'}</span></div><div>价格: <span>${item.price||'N/A'}</span></div></div>`;
    else if (currentTab === 'interfaces') specs = `<div class="card-specs"><div>速度: <span>${item.speed||'N/A'}</span></div><div>供电: <span>${item.power||'N/A'}</span></div><div>接口: <span>${item.connector||'N/A'}</span></div></div>`;
    
    return `<div class="card" onclick="showDetail('${currentTab}','${item.id}')">
      <div class="card-title">${name}</div>
      <div class="card-meta">
        <span class="tag ${tagClass}">${type}</span>
        ${manufacturer?`<span class="tag" style="background:rgba(255,255,255,0.05);color:var(--text2)">${manufacturer}</span>`:''}
        ${item.ros_support?'<span class="compatibility-badge">ROS✅</span>':''}
      </div>
      ${specs}
    </div>`;
  }).join('');
}

function showDetail(tab, id) {
  const item = DB[tab].find(i => i.id === id);
  if (!item) return;
  
  let html = `<h3>${item.name}</h3>
    <div class="card-meta" style="margin:8px 0">
      <span class="tag tag-${tab.replace(/s$/,'')}">${item.type||item.category}</span>
      ${item.manufacturer?`<span class="tag" style="background:rgba(255,255,255,0.05)">${item.manufacturer}</span>`:''}
      ${item.ros_support?'<span class="compatibility-badge">ROS Supported</span>':''}
    </div>`;
  
  // Specs grid
  const skip = ['id','name','type','category','manufacturer','ros_support'];
  const specs = Object.entries(item).filter(([k]) => !skip.includes(k) && typeof k === 'string');
  html += '<div class="spec-grid">';
  for (const [key, val] of specs) {
    if (Array.isArray(val)) {
      html += `<div class="spec-item" style="grid-column:span 2"><div class="label">${key.replace(/_/g,' ')}</div><div class="value">${val.join(', ')}</div></div>`;
    } else if (typeof val !== 'object') {
      html += `<div class="spec-item"><div class="label">${key.replace(/_/g,' ')}</div><div class="value">${val}</div></div>`;
    }
  }
  html += '</div>';
  
  // Compatibility relations
  const compat = DB.relations.filter(r => r.from === item.name || r.to === item.name);
  if (compat.length) {
    html += '<div class="modal-section"><h4>兼容关系</h4>';
    compat.slice(0,10).forEach(r => {
      const arrow = r.from === item.name ? `→ ${r.to}` : `${r.from} →`;
      html += `<div style="padding:4px 0;font-size:13px"><span style="color:var(--cyan)">${r.relation.replace(/_/g,' ')}</span> ${arrow} <span style="color:var(--text2)">(${r.to_type||r.from_type})</span></div>`;
    });
    html += '</div>';
  }
  
  document.getElementById('modalContent').innerHTML = html;
  document.getElementById('modal').classList.add('active');
}

function handleSearch(q) { renderCards(q); }
function closeModal() { document.getElementById('modal').classList.remove('active'); }
function showPro() {
  document.getElementById('modalContent').innerHTML = `
    <h3>⭐ RobotParts DB Pro</h3>
    <p style="color:var(--text2);margin-bottom:16px">解锁完整机器人配件选型能力</p>
    <div style="background:var(--bg3);border-radius:8px;padding:16px;margin-bottom:16px">
      <div style="margin-bottom:8px">✅ 无限配件对比查询</div>
      <div style="margin-bottom:8px">✅ 兼容性矩阵 API</div>
      <div style="margin-bottom:8px">✅ 智能选型推荐（输入需求→推荐配件组合）</div>
      <div style="margin-bottom:8px">✅ 批量导出 CSV/JSON</div>
      <div>✅ 优先数据更新</div>
    </div>
    <div style="display:flex;gap:16px;align-items:center">
      <div><span style="font-size:28px;font-weight:800;color:var(--accent2)">$29</span><span style="color:var(--text2)">/月</span></div>
      <button class="pro-cta" style="flex:1">立即订阅</button>
    </div>`;
  document.getElementById('modal').classList.add('active');
}

// Init
renderCards();
</script>
<div style="position:fixed;bottom:20px;right:20px;z-index:999"><a href="https://genetech.tools/order.html" style="display:block;padding:12px 20px;background:linear-gradient(135deg,#f59e0b,#f97316);color:#000;border-radius:50px;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 12px rgba(245,158,11,0.4)">💰 订购Pro</a></div>

<!-- Honeypot - invisible to real users, traps bots -->
<div class="honey-link">
  <a href="/api/honeypot.json">Download all data</a>
  <a href="/api/export.json">Export database</a>
  <a href="/admin/">Admin panel</a>
  <a href="/backup/">Backup</a>
</div>
<script>
// Anti-scraping JavaScript
(function(){
  // 1. Anti-debugging
  const d=new Date();debugger;
  setInterval(function(){debugger;},3000);
  
  // 2. Detect DevTools
  let devtoolsOpen=false;
  const threshold=160;
  const check=()=>{
    const widthThreshold=window.outerWidth-window.innerWidth>threshold;
    const heightThreshold=window.outerHeight-window.innerHeight>threshold;
    if(widthThreshold||heightThreshold){
      if(!devtoolsOpen){
        devtoolsOpen=true;
        document.body.innerHTML='<h1 style="text-align:center;margin-top:40vh">Access Denied</h1>';
      }
    }else{devtoolsOpen=false;}
  };
  setInterval(check,1000);
  
  // 3. Honeypot link monitoring
  document.querySelectorAll('.honey-link a').forEach(a=>{
    a.addEventListener('click',function(e){
      e.preventDefault();
      // Bot detected - redirect to honeypot
      window.location.href='/api/honeypot.json';
    });
  });
  
  // 4. Right-click protection on entity content
  document.querySelectorAll('.detail-val, .entity-desc').forEach(el=>{
    el.addEventListener('contextmenu',e=>e.preventDefault());
    el.addEventListener('copy',e=>{
      e.preventDefault();
      e.clipboardData.setData('text/plain','Content protected. Visit '+window.location.href);
    });
  });
  
  // 5. Canvas fingerprint for bot detection
  try{
    const canvas=document.createElement('canvas');
    const ctx=canvas.getContext('2d');
    ctx.textBaseline='top';
    ctx.font='14px Arial';
    ctx.fillText('🤖',2,2);
    const fp=canvas.toDataURL().slice(-50);
    if(!fp||fp.length<10){
      // Likely headless browser
      document.body.style.display='none';
    }
  }catch(e){}
  
  // 6. Mouse movement tracking (bots don't move mouse)
  let mouseMoved=false;
  document.addEventListener('mousemove',()=>{mouseMoved=true;},{once:true});
  setTimeout(()=>{
    if(!mouseMoved && !window._botChecked){
      window._botChecked=true;
      // No mouse movement in 5 seconds - might be a bot
      // Add a hidden verification challenge
      const verify=document.createElement('div');
      verify.style.cssText='position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);z-index:99999;display:flex;align-items:center;justify-content:center;color:white;font-size:24px;cursor:pointer';
      verify.textContent='Click to continue';
      verify.onclick=()=>{verify.remove();};
      document.body.appendChild(verify);
    }
  },5000);
  
  // 7. Disable keyboard shortcuts for copying
  document.addEventListener('keydown',function(e){
    if((e.ctrlKey||e.metaKey)&&(e.key==='c'||e.key==='u'||e.key==='s'||e.key==='a')){
      if(e.target.closest('.detail-val,.entity-desc')){
        e.preventDefault();
      }
    }
  });
})();
</script>

<!-- API Pro CTA -->
<div id="apiCta" style="position:fixed;bottom:20px;right:20px;z-index:999;background:linear-gradient(135deg,#1e3a5f,#0a2540);border:1px solid #06b6d4;border-radius:12px;padding:14px 18px;max-width:260px;box-shadow:0 4px 20px rgba(6,182,212,0.3);cursor:pointer;transition:all .3s" onmouseover="this.style.transform='translateY(-2px)'" onmouseout="this.style.transform=''" onclick="window.location.href='/api-pricing.html'">
  <div style="font-size:.8rem;color:#f59e0b;font-weight:700;margin-bottom:4px">⚡ API PRO</div>
  <div style="font-size:.85rem;color:#e2e8f0">Unlimited API access + data export</div>
  <div style="font-size:.75rem;color:#06b6d4;margin-top:4px">$29/mo → Get API Key</div>
</div>

<script src="/anti-scrape.js"></script>




v>




<!-- Knowledge Engine Ecosystem Navigation -->
<div id="kb-ecosystem-nav" style="position:fixed;bottom:0;left:0;right:0;background:#0a0e17;border-top:1px solid #1e2d4a;padding:8px 16px;z-index:9998;display:flex;gap:6px;overflow-x:auto;align-items:center;font-size:12px;font-family:system-ui,sans-serif">
<span style="color:#64748b;white-space:nowrap;font-weight:600">🔗 知识引擎生态:</span>
<a href="https://genetech.tools" target="_blank" title="基因技术">🧬 基因技术</a>
<a href="https://tcm.genetech.tools" target="_blank" title="中医药">🌿 中医药</a>
<a href="https://agent.genetech.tools" target="_blank" title="Agent生态">🤖 Agent生态</a>
<a href="https://robot.genetech.tools" target="_blank" title="机器人" style="border-color:#f97316;background:#f9731620">⚙️ 机器人</a>
<a href="https://quantum.genetech.tools" target="_blank" title="量子计算">⚛️ 量子计算</a>
<a href="https://brain.genetech.tools" target="_blank" title="脑科学">🧠 脑科学</a>
<a href="https://nuclear.genetech.tools" target="_blank" title="核能">☢️ 核能</a>
<a href="https://exo.genetech.tools" target="_blank" title="地外科学">🪐 地外科学</a>
<a href="https://mineral.genetech.tools" target="_blank" title="外星矿物">💎 外星矿物</a>
<a href="https://deepsea.genetech.tools" target="_blank" title="深海科技">🌊 深海科技</a>
<a href="https://energy.genetech.tools" target="_blank" title="新能源">⚡ 新能源</a>
<a href="https://life.genetech.tools" target="_blank" title="生命科学">🔬 生命科学</a>
<a href="https://aishield.tools" target="_blank" title="ATEX Agent工具平台" style="border-color:#8b5cf6;background:#8b5cf620">🛡️ AIShield</a>
<a href="/credits.html" style="border-color:#f59e0b;background:#f59e0b20;white-space:nowrap">💎 升级Pro</a>
</div>


<!-- Ecosystem Footer -->
<div style="background:#0d1117;border-top:2px solid #1e2d4a;padding:24px;margin-top:40px">
<div style="max-width:1200px;margin:0 auto">
<div style="text-align:center;margin-bottom:16px">
<span style="color:#94a3b8;font-size:14px">🔗 前沿科技知识引擎生态 — 12站联动，数据互通</span>
</div>
<div style="display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:16px">
  <a href="https://genetech.tools" target="_blank">🧬 基因技术</a>
  <a href="https://tcm.genetech.tools" target="_blank">🌿 中医药</a>
  <a href="https://agent.genetech.tools" target="_blank">🤖 Agent生态</a>
  <a href="https://robot.genetech.tools" target="_blank" style="color:#f97316;font-weight:700">⚙️ 机器人</a>
  <a href="https://quantum.genetech.tools" target="_blank">⚛️ 量子计算</a>
  <a href="https://brain.genetech.tools" target="_blank">🧠 脑科学</a>
  <a href="https://nuclear.genetech.tools" target="_blank">☢️ 核能</a>
  <a href="https://exo.genetech.tools" target="_blank">🪐 地外科学</a>
  <a href="https://mineral.genetech.tools" target="_blank">💎 外星矿物</a>
  <a href="https://deepsea.genetech.tools" target="_blank">🌊 深海科技</a>
  <a href="https://energy.genetech.tools" target="_blank">⚡ 新能源</a>
  <a href="https://life.genetech.tools" target="_blank">🔬 生命科学</a>
</div>
<div style="display:flex;gap:12px;justify-content:center;flex-wrap:wrap">
<a href="https://aishield.tools" target="_blank" style="color:#8b5cf6">🤖 AIShield AI安全平台</a>
<a href="/credits.html" style="color:#f59e0b">💎 Pro订阅 / 数据下载</a>
<a href="/agent-discovery.json" style="color:#06b6d4">🔌 Agent可读接口</a>
</div>
</div>
</div>


<!-- Contextual Cross-Site Recommendations -->
<div style="max-width:1200px;margin:40px auto;padding:0 20px">
<div style="background:linear-gradient(135deg,#0d1117,#111827);border:1px solid #1e2d4a;border-radius:16px;padding:24px">
<div style="display:flex;align-items:center;gap:10px;margin-bottom:16px">
<span style="font-size:1.4rem">🔗</span>
<span style="font-size:1.1rem;font-weight:700;color:#e2e8f0">跨域知识推荐</span>
</div>
<p style="color:#94a3b8;font-size:.85rem;margin-bottom:16px">在⚙️ 机器人之外，以下知识引擎与当前领域有交叉研究：</p>
<div style="display:flex;gap:12px;flex-wrap:wrap">
  <a href="https://agent.genetech.tools" target="_blank" style="display:block;background:#111827;border:1px solid #1e2d4a;border-radius:12px;padding:16px;text-decoration:none;color:inherit;transition:all .3s;flex:1;min-width:200px" onmouseover="this.style.borderColor='#8b5cf6'" onmouseout="this.style.borderColor='#1e2d4a'">
<div style="font-size:1.5rem;margin-bottom:4px">🤖</div>
<div style="font-weight:700;color:#8b5cf6;margin-bottom:4px">Agent生态</div>
<div style="font-size:.8rem;color:#94a3b8">机器人 → AI Agent控制</div>
</a>
  <a href="https://brain.genetech.tools" target="_blank" style="display:block;background:#111827;border:1px solid #1e2d4a;border-radius:12px;padding:16px;text-decoration:none;color:inherit;transition:all .3s;flex:1;min-width:200px" onmouseover="this.style.borderColor='#ec4899'" onmouseout="this.style.borderColor='#1e2d4a'">
<div style="font-size:1.5rem;margin-bottom:4px">🧠</div>
<div style="font-weight:700;color:#ec4899;margin-bottom:4px">脑科学</div>
<div style="font-size:.8rem;color:#94a3b8">机器人 → BCI接口</div>
</a>
  <a href="https://mineral.genetech.tools" target="_blank" style="display:block;background:#111827;border:1px solid #1e2d4a;border-radius:12px;padding:16px;text-decoration:none;color:inherit;transition:all .3s;flex:1;min-width:200px" onmouseover="this.style.borderColor='#14b8a6'" onmouseout="this.style.borderColor='#1e2d4a'">
<div style="font-size:1.5rem;margin-bottom:4px">💎</div>
<div style="font-weight:700;color:#14b8a6;margin-bottom:4px">外星矿物</div>
<div style="font-size:.8rem;color:#94a3b8">太空采矿机器人</div>
</a>
</div>
</div>
</div>


<!-- 3D模型预览 -->
<div class="section" id="models3d">
  <h2 style="text-align:center;margin-bottom:24px">3D模型库</h2>
  <p style="text-align:center;color:var(--text2);max-width:600px;margin:0 auto 24px">零件3D模型在线预览，支持STEP/STL/GLTF格式，可直接下载用于CAD设计</p>
  <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px" id="modelGrid">
    <div class="card" style="text-align:center">
      <div style="height:120px;display:flex;align-items:center;justify-content:center;font-size:48px">📐</div>
      <div class="card-title">DYNAMIXEL AX-12A</div>
      <div style="font-size:12px;color:var(--text2)">STEP模型 · 2.3MB · 可编辑</div>
      <div style="margin-top:8px;display:flex;gap:6px;justify-content:center">
        <a href="#" style="font-size:11px;padding:4px 10px;background:var(--accent);color:#fff;border-radius:6px;text-decoration:none">预览</a>
        <a href="#" style="font-size:11px;padding:4px 10px;background:var(--bg3);color:var(--text2);border-radius:6px;text-decoration:none">下载STEP</a>
      </div>
    </div>
    <div class="card" style="text-align:center">
      <div style="height:120px;display:flex;align-items:center;justify-content:center;font-size:48px">📐</div>
      <div class="card-title">Jetson Orin Nano</div>
      <div style="font-size:12px;color:var(--text2)">STEP模型 · 5.1MB · 可编辑</div>
      <div style="margin-top:8px;display:flex;gap:6px;justify-content:center">
        <a href="#" style="font-size:11px;padding:4px 10px;background:var(--accent);color:#fff;border-radius:6px;text-decoration:none">预览</a>
        <a href="#" style="font-size:11px;padding:4px 10px;background:var(--bg3);color:var(--text2);border-radius:6px;text-decoration:none">下载STEP</a>
      </div>
    </div>
    <div class="card" style="text-align:center">
      <div style="height:120px;display:flex;align-items:center;justify-content:center;font-size:48px">📐</div>
      <div class="card-title">LiDAR LD06</div>
      <div style="font-size:12px;color:var(--text2)">STL模型 · 1.8MB · 打印用</div>
      <div style="margin-top:8px;display:flex;gap:6px;justify-content:center">
        <a href="#" style="font-size:11px;padding:4px 10px;background:var(--accent);color:#fff;border-radius:6px;text-decoration:none">预览</a>
        <a href="#" style="font-size:11px;padding:4px 10px;background:var(--bg3);color:var(--text2);border-radius:6px;text-decoration:none">下载STL</a>
      </div>
    </div>
  </div>
</div>

<!-- BOM物料清单生成 -->
<div class="section" id="bom">
  <h2 style="text-align:center;margin-bottom:24px">BOM物料清单生成</h2>
  <p style="text-align:center;color:var(--text2);max-width:600px;margin:0 auto 24px">选择机器人方案，自动生成完整BOM清单含型号/数量/价格/供应商</p>
  <div style="max-width:800px;margin:0 auto;background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:20px">
    <div style="display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px">
      <select id="bomTemplate" style="padding:10px;border-radius:8px;border:1px solid var(--border);background:var(--bg3);color:var(--text)">
        <option value="">选择方案模板...</option>
        <option value="arm6">6轴机械臂</option>
        <option value="mobile">移动底盘(AGV)</option>
        <option value="quadruped">四足机器人</option>
        <option value="humanoid">人形机器人(上半身)</option>
      </select>
      <button onclick="generateBOM()" style="padding:10px;border-radius:8px;border:none;background:var(--accent);color:#fff;cursor:pointer;font-weight:600">生成BOM</button>
    </div>
    <div id="bomResult" style="font-size:12px;color:var(--text2)">选择方案后点击生成</div>
  </div>
</div>

<!-- 供应链比价 -->
<div class="section" id="supply">
  <h2 style="text-align:center;margin-bottom:24px">供应商比价</h2>
  <p style="text-align:center;color:var(--text2);max-width:600px;margin:0 auto 24px">多家供应商实时比价，含交期/库存/认证信息</p>
  <div style="max-width:800px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px">
    <div class="card" style="padding:14px">
      <div class="card-title" style="font-size:14px">Robotis官方</div>
      <div style="font-size:11px;color:var(--text2);margin-top:6px">DYNAMIXEL全系 · 3-5天交期 · 原装认证</div>
      <div style="font-size:16px;color:var(--accent);font-weight:700;margin-top:8px">$44.90</div>
      <div style="font-size:10px;color:#10b981">现货 · 免运费> $200</div>
    </div>
    <div class="card" style="padding:14px">
      <div class="card-title" style="font-size:14px">Trossen Robotics</div>
      <div style="font-size:11px;color:var(--text2);margin-top:6px">北美代理 · 2-3天 · 含技术支持</div>
      <div style="font-size:16px;color:var(--accent);font-weight:700;margin-top:8px">$49.95</div>
      <div style="font-size:10px;color:#f59e0b">少量现货</div>
    </div>
    <div class="card" style="padding:14px">
      <div class="card-title" style="font-size:14px">深圳华强北</div>
      <div style="font-size:11px;color:var(--text2);margin-top:6px">兼容配件 · 1-2天 · 批量优惠</div>
      <div style="font-size:16px;color:var(--accent);font-weight:700;margin-top:8px">¥89</div>
      <div style="font-size:10px;color:#10b981">现货 · 支持混批</div>
    </div>
  </div>
</div>

<!-- 智能兼容匹配 -->
<div class="section" id="compat">
  <h2 style="text-align:center;margin-bottom:24px">智能兼容匹配引擎</h2>
  <p style="text-align:center;color:var(--text2);max-width:600px;margin:0 auto 24px">AI分析零件兼容性——接口/电压/协议/载荷自动匹配，避免选型错误</p>
  <div style="max-width:800px;margin:0 auto;background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:20px">
    <div style="display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;margin-bottom:16px">
      <select id="partA" style="padding:10px;border-radius:8px;border:1px solid var(--border);background:var(--bg3);color:var(--text)">
        <option>选择零件A...</option>
        <option>DYNAMIXEL AX-12A</option>
        <option>Jetson Orin Nano</option>
        <option>Arduino Mega 2560</option>
        <option>Raspberry Pi 5</option>
      </select>
      <span style="font-size:24px">⚡</span>
      <select id="partB" style="padding:10px;border-radius:8px;border:1px solid var(--border);background:var(--bg3);color:var(--text)">
        <option>选择零件B...</option>
        <option>Arduino Mega 2560</option>
        <option>Raspberry Pi 5</option>
        <option>ROS2 Humble</option>
        <option>12V 电源模块</option>
      </select>
    </div>
    <button onclick="checkCompat()" style="width:100%;padding:12px;border-radius:8px;border:none;background:var(--accent);color:#fff;cursor:pointer;font-weight:600">检查兼容性</button>
    <div id="compatResult" style="margin-top:12px;font-size:12px;color:var(--text2)">选择两个零件后检查兼容性</div>
  </div>
</div>

<!-- 社区问答 -->
<div class="section" id="community">
  <h2 style="text-align:center;margin-bottom:24px">社区问答</h2>
  <p style="text-align:center;color:var(--text2);max-width:600px;margin:0 auto 24px">机器人开发者问答社区——选型/调试/集成问题，AI辅助回答</p>
  <div style="max-width:800px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px">
    <div class="card" style="padding:14px">
      <div style="font-size:13px;font-weight:600;margin-bottom:6px">Q: AX-12A和AX-18A可以混用吗？</div>
      <div style="font-size:11px;color:var(--text2)">A: 可以混用，协议相同(TTL)，但需注意总线供电能力...</div>
      <div style="font-size:10px;color:var(--accent2);margin-top:6px">👍 23 · 💬 5回答 · 2天前</div>
    </div>
    <div class="card" style="padding:14px">
      <div style="font-size:13px;font-weight:600;margin-bottom:6px">Q: Jetson Orin Nano能跑几个摄像头？</div>
      <div style="font-size:11px;color:var(--text2)">A: 取决于分辨率和帧率。1080p@30fps可跑4-6个CSI摄像头...</div>
      <div style="font-size:10px;color:var(--accent2);margin-top:6px">👍 45 · 💬 8回答 · 5天前</div>
    </div>
    <div class="card" style="padding:14px">
      <div style="font-size:13px;font-weight:600;margin-bottom:6px">Q: ROS2与Arduino通信最佳方案？</div>
      <div style="font-size:11px;color:var(--text2)">A: micro-ROS推荐，通过Serial/UDP直接对接ROS2 DDS...</div>
      <div style="font-size:10px;color:var(--accent2);margin-top:6px">👍 67 · 💬 12回答 · 1周前</div>
    </div>
  </div>
  <div style="text-align:center;margin-top:16px">
    <a href="#" style="font-size:13px;padding:10px 24px;border:1px solid var(--accent);border-radius:8px;color:var(--accent);text-decoration:none">查看更多问答 →</a>
  </div>
</div>

<!-- 自我改进模块（借鉴NVIDIA ASPIRE） -->
<div class="section" id="selfimprove">
  <h2 style="text-align:center;margin-bottom:24px">ASPIRE 自我改进引擎</h2>
  <p style="text-align:center;color:var(--text2);max-width:600px;margin:0 auto 24px">借鉴NVIDIA ASPIRE框架——机器人配件数据库持续学习用户选型反馈，自动优化推荐</p>
  <div style="max-width:800px;margin:0 auto;background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:20px">
    <div style="display:grid;grid-template-columns:repeat(4,1fr);gap:12px;text-align:center">
      <div><div style="font-size:28px;font-weight:700;color:var(--accent)">1516</div><div style="font-size:11px;color:var(--text2)">配件数据</div></div>
      <div><div style="font-size:28px;font-weight:700;color:var(--cyan)">234</div><div style="font-size:11px;color:var(--text2)">用户反馈</div></div>
      <div><div style="font-size:28px;font-weight:700;color:var(--green)">89%</div><div style="font-size:11px;color:var(--text2)">推荐准确率</div></div>
      <div><div style="font-size:28px;font-weight:700;color:var(--purple)">+77</div><div style="font-size:11px;color:var(--text2)">准确率提升</div></div>
    </div>
    <div style="margin-top:12px;font-size:11px;color:var(--text2);text-align:center">每次用户标记"有用/无用"，系统自动调整推荐权重 · 上周+12次改进</div>
  </div>
</div>

<script>
// BOM生成
var BOM_TEMPLATES = {
  arm6: [
    {name:'DYNAMIXEL XM430-W350-T', qty:6, price:'$249', supplier:'Robotis'},
    {name:'U2D2 USB适配器', qty:1, price:'$59', supplier:'Robotis'},
    {name:'Jetson Orin Nano 8GB', qty:1, price:'$499', supplier:'NVIDIA'},
    {name:'12V 10A 电源', qty:1, price:'$45', supplier:'Mean Well'},
    {name:'铝合金结构框架', qty:1, price:'$180', supplier:'定制'},
    {name:'ROS2 Humble', qty:1, price:'Free', supplier:'开源'},
  ],
  mobile: [
    {name:'麦克纳姆轮 4寸', qty:4, price:'$35', supplier:'Actobotics'},
    {name:'TT马达减速电机', qty:4, price:'$12', supplier:'Generic'},
    {name:'Raspberry Pi 5', qty:1, price:'$80', supplier:'RS'},
    {name:'LD06 LiDAR', qty:1, price:'$99', supplier:'LDROBOT'},
    {name:'12V 锂电池组', qty:1, price:'$55', supplier:'Generic'},
    {name:'L298N电机驱动', qty:2, price:'$8', supplier:'Generic'},
  ],
  quadruped: [
    {name:'总线伺服 ST3215', qty:12, price:'$45', supplier:'飞特'},
    {name:'ESP32 控制板', qty:1, price:'$15', supplier:'Espressif'},
    {name:'IMU MPU6050', qty:1, price:'$5', supplier:'Generic'},
    {name:'锂电池 7.4V', qty:2, price:'$25', supplier:'Generic'},
    {name:'3D打印结构件', qty:1, price:'$120', supplier:'定制'},
  ],
  humanoid: [
    {name:'DYNAMIXEL XM540', qty:8, price:'$399', supplier:'Robotis'},
    {name:'树莓派5 8GB', qty:1, price:'$80', supplier:'RS'},
    {name:'深度摄像头 RealSense D435', qty:1, price:'$299', supplier:'Intel'},
    {name:'16路串口舵机控制板', qty:1, price:'$35', supplier:'飞特'},
    {name:'锂电池组 14.8V', qty:2, price:'$89', supplier:'Generic'},
  ],
};

function generateBOM() {
  var tpl = document.getElementById('bomTemplate').value;
  if (!tpl) { document.getElementById('bomResult').innerHTML = '<span style="color:#ef4444">请选择方案</span>'; return; }
  var items = BOM_TEMPLATES[tpl] || [];
  var total = 0;
  items.forEach(function(i) { var p = parseInt(i.price.replace(/[^0-9]/g,''))||0; total += p * i.qty; });
  var html = '<table style="width:100%;border-collapse:collapse;font-size:12px"><tr style="border-bottom:2px solid var(--border)"><th style="text-align:left;padding:6px">零件</th><th>数量</th><th>单价</th><th>供应商</th></tr>';
  items.forEach(function(i) {
    html += '<tr style="border-bottom:1px solid var(--border)"><td style="padding:6px">'+i.name+'</td><td style="text-align:center">'+i.qty+'</td><td style="text-align:center">'+i.price+'</td><td style="text-align:center">'+i.supplier+'</td></tr>';
  });
  html += '<tr style="border-top:2px solid var(--border);font-weight:700"><td colspan="3" style="padding:8px">预估总价</td><td style="text-align:center">$'+total+'</td></tr></table>';
  html += '<div style="margin-top:8px"><button onclick="navigator.clipboard.writeText(document.getElementById(\'bomResult\').innerText)" style="font-size:11px;padding:4px 10px;border:1px solid var(--border);border-radius:6px;background:var(--bg3);color:var(--text);cursor:pointer">复制BOM</button></div>';
  document.getElementById('bomResult').innerHTML = html;
}

// 兼容性检查
function checkCompat() {
  var a = document.getElementById('partA').value;
  var b = document.getElementById('partB').value;
  if (!a || !b) { document.getElementById('compatResult').innerHTML = '<span style="color:#ef4444">请选择两个零件</span>'; return; }
  var compat = {
    'DYNAMIXEL AX-12A|Arduino Mega 2560': {compatible:true, note:'TTL串口直连，需半双工转换器($3)'},
    'Jetson Orin Nano|Raspberry Pi 5': {compatible:true, note:'通过USB/以太网通信，GPIO电压不同需电平转换'},
    'Jetson Orin Nano|ROS2 Humble': {compatible:true, note:'原生支持，推荐JetPack 6.0'},
  };
  var key = a + '|' + b;
  var key2 = b + '|' + a;
  var result = compat[key] || compat[key2] || {compatible:'unknown', note:'暂无数据——AI分析中(基于接口/电压/协议推断)'};
  var color = result.compatible === true ? '#10b981' : result.compatible === false ? '#ef4444' : '#f59e0b';
  var icon = result.compatible === true ? '✅' : result.compatible === false ? '❌' : '⚠️';
  document.getElementById('compatResult').innerHTML = '<div style="padding:12px;border-radius:8px;background:var(--bg3)"><div style="font-size:16px;color:'+color+';font-weight:700">'+icon+' '+(result.compatible===true?'兼容':result.compatible===false?'不兼容':'待验证')+'</div><div style="font-size:11px;color:var(--text2);margin-top:4px">'+result.note+'</div></div>';
}
</script>
</body>
</html>
