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.
Inspect the RD302 finding in the intentional-fault scan. Compare the launch reference with the supplied config/scan.yaml. Review the one-line correction and the separately computed corrected scan.
1. Intentional fault 2. Corrected scan Download this example ZIP
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
Findings Architecture Packages Launch & configuration Inventory Downloads
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.
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.
Locate the intended YAML file. 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 File Line Extractor Snippet scan_demo/launch/scan.launch.py 9 python_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 topology Nodes Topics, services, and actions //scan_observer scan_observer scan_demo · example //scan_source scan_source scan_demo · example //scan_observer scan_observer scan_demo · example //scan_source scan_source scan_demo · example /scan /scan topic Showing 4 of 4 graph-eligible nodes (0 production, 4 example, 0 test) from 4 active nodes, with 1 interfaces.
Nodes and communication ownership Node Package Namespace Origin Scope Endpoints scan_observer scan_demo / source example 1 scan_observer scan_demo / launch example 0 scan_source scan_demo / source example 1 scan_source scan_demo / launch example 0
Topics Name Types Scopes Publishers Subscribers /scan sensor_msgs/msg/LaserScan example 1 1
Services Name Types Scopes Servers Clients None detected.
Actions Name Types Scopes Servers Clients None detected.
Sensors, algorithms, and actuation Category Scope Name Type Role Package Source Sensor example /scan sensor_msgs/msg/LaserScan sensor data interface scan_demo scan_demo/scan_demo/nodes.py Sensor example /scan sensor_msgs/msg/LaserScan sensor data interface scan_demo scan_demo/scan_demo/nodes.py
ros2_control model Category Scope Name Type Role Source Package Details File 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.
Scope Controller Command interface Match Hardware Candidates Joint/resource Transmission Actuator Resolved No command-interface control chains were inferred.
Modification points Task Package Scope Path Why Tune runtime behavior and algorithm settings scan_demo example scan_demo/config/scan.yaml ROS parameter file detected Change startup, composition, namespaces, or remappings scan_demo example scan_demo/launch/scan.launch.py launch entry point detected Change node behavior or ROS communication scan_demo example scan_demo/scan_demo/nodes.py source file contains ROS entities
Packages Package manifests, dependencies, and extracted code entities from this scan.
scan_demo
scan_demo ament_python v0.1.0 2 executables
Robot Doctor controlled scan example
Manifest dependencies Declaration Packages 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.pyscan_demo python
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 Parameter Value Node selector Source file Line frame_id"laser"scan_sourcescan_demo/config/scan.yaml3
Complete scan inventory Packages 1
Launch Files 1
Active Nodes 4
All Architecture Nodes 4
Topics 1
Services 0
Actions 0
Resolved Entities 7
Unresolved Entities 0
Active node scopes: Production: 0 · Example: 4 · Test: 0
Static analysis only; runtime/build confirmation remains a separate verification phase.
Reproducibility Started 2026-10-27T20:35:04.603291Z Completed 2026-10-27T20:35:04.610559Z Duration 0.007 seconds Commit Not detected Branch Detached or not detected Dirty working tree None Input type local Archive SHA-256 Not applicable Content SHA-256 Not calculated ROS distribution Not sourced Python 3.13.6 Platform Darwin 25.6.0 arm64