{
  "id": "ros2/rmw-implementation-not-found",
  "signature": "RMW_IMPLEMENTATION=rmw_fastrtps_cpp: Failed to find RMW implementation: 'rmw_fastrtps_cpp' not found in package list",
  "signature_zh": "RMW_IMPLEMENTATION=rmw_fastrtps_cpp：找不到RMW实现：包列表中未找到'rmw_fastrtps_cpp'",
  "regex": "Failed to find RMW implementation: 'rmw_fastrtps_cpp'",
  "domain": "ros2",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The specified RMW implementation package is not installed in the ROS2 environment, often due to incomplete installation or incorrect workspace sourcing.",
  "root_cause_type": "generic",
  "root_cause_zh": "指定的RMW实现包未安装在ROS2环境中，通常由安装不完整或工作空间源设置错误导致。",
  "versions": [
    {
      "version": "Humble",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Iron",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Jazzy",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Rolling",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Setting RMW_IMPLEMENTATION to a random string like 'rmw_cyclonedds_cpp' without installing it",
      "why_fails": "Only installed RMW implementations are available; setting an uninstalled one causes the same error.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Rebuilding all packages with colcon build",
      "why_fails": "The RMW implementation is a system package, not a workspace package; rebuilding doesn't install it.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "Setting RMW_IMPLEMENTATION in .bashrc without sourcing the ROS2 setup file",
      "why_fails": "The environment variable is set but the ROS2 installation isn't sourced, so packages aren't found.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Install the missing RMW implementation package using apt.",
      "success_rate": 0.95,
      "how": "Install the missing RMW implementation package using apt.",
      "condition": "",
      "sources": []
    },
    {
      "action": "List available RMW implementations and choose an installed one.",
      "success_rate": 0.9,
      "how": "List available RMW implementations and choose an installed one.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Ensure the ROS2 setup script is sourced before checking RMW availability.",
      "success_rate": 0.85,
      "how": "Ensure the ROS2 setup script is sourced before checking RMW availability.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Install the missing RMW implementation package using apt.",
    "List available RMW implementations and choose an installed one.",
    "Ensure the ROS2 setup script is sourced before checking RMW availability."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.ros.org/en/rolling/Concepts/About-RMW-Implementations.html",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.95,
  "resolvable": "true",
  "first_seen": "2023-04-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}