FaciRob / ROS 2 source explorer

ROS 2 scan example

Explore real public issue case studies

Guided example · Intentional fault

Trace a missing parameter file to its launch reference

This synthetic ROS 2 project publishes and observes /scan. The fault was deliberately introduced for this demonstration; it is not a customer incident or a robot navigation stack.

  1. Inspect the RD302 finding in the intentional-fault scan.
  2. Compare the launch reference with the supplied config/scan.yaml.
  3. Review the one-line correction and the separately computed corrected scan.

Inspect the finding and source evidence · Read this scan's assessment

Inspect the launch file and one-line correction

scan_demo/launch/scan.launch.py

from launch import LaunchDescription
from launch.substitutions import PathJoinSubstitution
from launch_ros.actions import Node
from launch_ros.substitutions import FindPackageShare


def generate_launch_description():
    return LaunchDescription([
        Node(package="scan_demo", executable="scan_source", name="scan_source",
             parameters=[PathJoinSubstitution([FindPackageShare("scan_demo"), "config", "missing.yaml"])]),
        Node(package="scan_demo", executable="scan_observer", name="scan_observer"),
    ])

The reviewed change:

- "missing.yaml"
+ "scan.yaml"

The correction is supplied for comparison. FaciRob has not autonomously edited or executed this project.

Verification boundary: a rescan checks the source reference. It does not prove build success, message delivery, or hardware operation. Download the project for your own inspection and separate ROS testing.

Your project assessment

Review the flagged integration issues

1 error0 warnings0 informational findings

Next step: Start with Missing launch parameter file. Inspect its source evidence, review the repair guidance, then rescan.

0 unresolved expressions. Findings reflect the configured static checks and confidence estimates; they do not establish build success, runtime behavior, or hardware compatibility.

Review findings and evidence · Explore architecture

Prioritized Findings

All findings from this saved scan are shown below. Filtering is available in the local application.

Showing 1 of 1 findings matching the current filters. Informational findings are collapsed by default. Confidence is a scanner estimate, not a calibrated probability.

errorRD302confidence 94%

Missing launch parameter file

Parameter file '$(find-pkg-share scan_demo)/config/missing.yaml' does not exist.

Inspect scan_demo/launch/scan.launch.py:9

Recommended repair: Add the referenced parameter file or correct its launch path.

  1. Locate the intended YAML file.
  2. Correct the launch reference, then confirm that the intended config file is installed by this package.

Commands to verify

find . -name '*.yaml' -o -name '*.yml'

Suggested files: scan_demo/launch/scan.launch.py

Patch hint

For this ament_python package, verify that setup.py data_files includes the intended YAML under share/<package>/config. Review existing entries before adding files.
Source evidence
FileLineExtractorSnippet
scan_demo/launch/scan.launch.py9python_launch_ast
Node(package="scan_demo", executable="scan_source", name="scan_source", parameters=[PathJoinSubstitution([FindPackageShare("scan_demo"), "config", "missing.yaml"])])

Architecture

This static view can contain both source definitions and launch instances for the same runtime node. It is not a count of running processes.

Node and interface topologyNodesTopics, services, and actions//scan_observerscan_observerscan_demo · example//scan_sourcescan_sourcescan_demo · example//scan_observerscan_observerscan_demo · example//scan_sourcescan_sourcescan_demo · example/scan/scantopicShowing 4 of 4 graph-eligible nodes (0 production, 4 example, 0 test) from 4 active nodes, with 1 interfaces.
Nodes and communication ownership
NodePackageNamespaceOriginScopeEndpoints
scan_observerscan_demo/sourceexample1
scan_observerscan_demo/launchexample0
scan_sourcescan_demo/sourceexample1
scan_sourcescan_demo/launchexample0
Topics
NameTypesScopesPublishersSubscribers
/scansensor_msgs/msg/LaserScanexample11
Services
NameTypesScopesServersClients
None detected.
Actions
NameTypesScopesServersClients
None detected.
Sensors, algorithms, and actuation
CategoryScopeNameTypeRolePackageSource
Sensorexample/scansensor_msgs/msg/LaserScansensor data interfacescan_demoscan_demo/scan_demo/nodes.py
Sensorexample/scansensor_msgs/msg/LaserScansensor data interfacescan_demoscan_demo/scan_demo/nodes.py
ros2_control model
CategoryScopeNameTypeRoleSourcePackageDetailsFile
No ros2_control declarations were detected.
ros2_control command chains

Controller → command interface → hardware component → joint/resource → transmission → actuator. Match status distinguishes unique, cross-package candidate, ambiguous, missing, and unclaimed links; unsupported deployment assumptions are never silently cross-linked.

ScopeControllerCommand interfaceMatchHardwareCandidatesJoint/resourceTransmissionActuatorResolved
No command-interface control chains were inferred.
Modification points
TaskPackageScopePathWhy
Tune runtime behavior and algorithm settingsscan_demoexamplescan_demo/config/scan.yamlROS parameter file detected
Change startup, composition, namespaces, or remappingsscan_demoexamplescan_demo/launch/scan.launch.pylaunch entry point detected
Change node behavior or ROS communicationscan_demoexamplescan_demo/scan_demo/nodes.pysource file contains ROS entities

Packages

Package manifests, dependencies, and extracted code entities from this scan.

scan_demo

scan_demoament_pythonv0.1.02 executables

Robot Doctor controlled scan example

Manifest dependencies
DeclarationPackages
buildtool_dependament_python
dependrclpy, sensor_msgs
exec_dependlaunch, launch_ros
Node definitions · 2
[
  {
    "kind": "node_name",
    "name": "scan_source",
    "type": null,
    "file": "scan_demo/scan_demo/nodes.py",
    "line": 9,
    "fact_type": "detected",
    "confidence": 1.0,
    "resolved": true,
    "evidence": [
      {
        "file": "scan_demo/scan_demo/nodes.py",
        "line": 9,
        "extractor": "python_ast",
        "snippet": "super().__init__(\"scan_source\")"
      }
    ],
    "class": "ScanSource",
    "lifecycle": false
  },
  {
    "kind": "node_name",
    "name": "scan_observer",
    "type": null,
    "file": "scan_demo/scan_demo/nodes.py",
    "line": 26,
    "fact_type": "detected",
    "confidence": 1.0,
    "resolved": true,
    "evidence": [
      {
        "file": "scan_demo/scan_demo/nodes.py",
        "line": 26,
        "extractor": "python_ast",
        "snippet": "super().__init__(\"scan_observer\")"
      }
    ],
    "class": "ScanObserver",
    "lifecycle": false
  }
]
Executables · 2
[
  {
    "kind": "executable",
    "name": "scan_source",
    "type": "python_entry_point",
    "file": "scan_demo/setup.py",
    "line": 8,
    "fact_type": "detected",
    "confidence": 0.95,
    "resolved": true,
    "evidence": [
      {
        "file": "scan_demo/setup.py",
        "line": 8,
        "extractor": "python_ast",
        "snippet": "scan_source = scan_demo.nodes:source_main"
      }
    ],
    "target": "scan_demo.nodes:source_main"
  },
  {
    "kind": "executable",
    "name": "scan_observer",
    "type": "python_entry_point",
    "file": "scan_demo/setup.py",
    "line": 9,
    "fact_type": "detected",
    "confidence": 0.95,
    "resolved": true,
    "evidence": [
      {
        "file": "scan_demo/setup.py",
        "line": 9,
        "extractor": "python_ast",
        "snippet": "scan_observer = scan_demo.nodes:observer_main"
      }
    ],
    "target": "scan_demo.nodes:observer_main"
  }
]
Publishers · 1
[
  {
    "kind": "publisher",
    "name": "/scan",
    "type": "sensor_msgs/msg/LaserScan",
    "file": "scan_demo/scan_demo/nodes.py",
    "line": 11,
    "fact_type": "detected",
    "confidence": 1.0,
    "resolved": true,
    "evidence": [
      {
        "file": "scan_demo/scan_demo/nodes.py",
        "line": 11,
        "extractor": "python_ast",
        "snippet": "self.create_publisher(LaserScan, \"/scan\", qos_profile_sensor_data)"
      }
    ],
    "qos": {
      "expression": "qos_profile_sensor_data",
      "dynamic": true
    },
    "class": "ScanSource",
    "lifecycle": false
  }
]
Subscriptions · 1
[
  {
    "kind": "subscription",
    "name": "/scan",
    "type": "sensor_msgs/msg/LaserScan",
    "file": "scan_demo/scan_demo/nodes.py",
    "line": 27,
    "fact_type": "detected",
    "confidence": 1.0,
    "resolved": true,
    "evidence": [
      {
        "file": "scan_demo/scan_demo/nodes.py",
        "line": 27,
        "extractor": "python_ast",
        "snippet": "self.create_subscription( LaserScan, \"/scan\", self.receive_scan, qos_profile_sensor_data)"
      }
    ],
    "qos": {
      "expression": "qos_profile_sensor_data",
      "dynamic": true
    },
    "class": "ScanObserver",
    "lifecycle": false
  }
]

Launch & configuration

Inspect launch entry points and parameter declarations without executing repository code.

scan_demo/launch/scan.launch.py

scan_demopython

Launch arguments · 0
[]
Launch actions and source evidence · 2
[
  {
    "kind": "node",
    "package": "scan_demo",
    "executable": "scan_source",
    "name": "scan_source",
    "namespace": null,
    "condition": null,
    "remappings": [],
    "parameters": [
      {
        "kind": "file",
        "value": "$(find-pkg-share scan_demo)/config/missing.yaml",
        "confidence": 0.8,
        "resolved": true,
        "resolved_path": "scan_demo/config/missing.yaml",
        "exists": false
      }
    ],
    "lifecycle": false,
    "composed": false,
    "fact_type": "detected",
    "confidence": 1.0,
    "resolved": true,
    "source_file": "scan_demo/launch/scan.launch.py",
    "line": 9,
    "evidence": [
      {
        "file": "scan_demo/launch/scan.launch.py",
        "line": 9,
        "extractor": "python_launch_ast",
        "snippet": "Node(package=\"scan_demo\", executable=\"scan_source\", name=\"scan_source\", parameters=[PathJoinSubstitution([FindPackageShare(\"scan_demo\"), \"config\", \"missing.yaml\"])])"
      }
    ]
  },
  {
    "kind": "node",
    "package": "scan_demo",
    "executable": "scan_observer",
    "name": "scan_observer",
    "namespace": null,
    "condition": null,
    "remappings": [],
    "parameters": [],
    "lifecycle": false,
    "composed": false,
    "fact_type": "detected",
    "confidence": 1.0,
    "resolved": true,
    "source_file": "scan_demo/launch/scan.launch.py",
    "line": 11,
    "evidence": [
      {
        "file": "scan_demo/launch/scan.launch.py",
        "line": 11,
        "extractor": "python_launch_ast",
        "snippet": "Node(package=\"scan_demo\", executable=\"scan_observer\", name=\"scan_observer\")"
      }
    ]
  }
]
Included launch files · 0
[]

Parameter configuration

ParameterValueNode selectorSource fileLine
frame_id"laser"scan_sourcescan_demo/config/scan.yaml3

Complete scan inventory

Packages1
Launch Files1
Active Nodes4
All Architecture Nodes4
Topics1
Services0
Actions0
Resolved Entities7
Unresolved Entities0

Active node scopes: Production: 0 · Example: 4 · Test: 0

Static analysis only; runtime/build confirmation remains a separate verification phase.

Reproducibility
Started2026-10-27T20:35:04.603291Z
Completed2026-10-27T20:35:04.610559Z
Duration0.007 seconds
CommitNot detected
BranchDetached or not detected
Dirty working treeNone
Input typelocal
Archive SHA-256Not applicable
Content SHA-256Not calculated
ROS distributionNot sourced
Python3.13.6
PlatformDarwin 25.6.0 arm64

Downloads

Scan JSONExample source ZIP