# anscer/ar100 architecture

> Architecture diagram of the GitHub repository anscer/ar100, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anscer/ar100
- Repository: https://github.com/anscer/ar100

## Overview

AR100 is a ROS-based autonomous mobile robot simulation. The documented workflow starts the simulation, lets an operator drive the robot manually, uses SLAM to build and save a map, then launches autonomous navigation with that map and RViz goals. The README establishes these capabilities and user-level relationships; launch and runtime source excerpts were not provided, so internal launch wiring is not asserted.

Main entry points: [`anscer_navigation/launch/anscer_navigation.launch`](https://github.com/anscer/ar100/blob/main/anscer_navigation/launch/anscer_navigation.launch) (Navigation Launch), [`start_anscer/launch/start_anscer.launch`](https://github.com/anscer/ar100/blob/main/start_anscer/launch/start_anscer.launch) (Simulation Bringup), [`anscer_slam/launch/anscer_slam.launch`](https://github.com/anscer/ar100/blob/main/anscer_slam/launch/anscer_slam.launch) (SLAM Launch), [`anscer_teleop/nodes/anscer_teleop_key`](https://github.com/anscer/ar100/blob/main/anscer_teleop/nodes/anscer_teleop_key) (Keyboard Teleoperation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_simulation["Robot Simulation"]
  node_bringup["Simulation Bringup"]
  node_robot_model["Robot Description"]
  node_gazebo["Gazebo World"]
end

subgraph group_control["Robot Control"]
  node_teleop["Keyboard Teleoperation"]
end

subgraph group_mapping["Mapping"]
  node_slam["SLAM Launch<br/>[anscer_slam.launch]"]
  node_slam_config["SLAM Parameters"]
  node_map_saver["Map Saver"]
  node_map_store[("Saved Map<br/>[map.pgm]")]
end

subgraph group_navigation["Autonomous Navigation"]
  node_navigation_launch["Navigation Launch"]
  node_map_server["Map Server"]
  node_localization["AMCL Localization"]
  node_move_base["Move Base"]
  node_planner["DWA Planner"]
  node_rviz["Navigation RViz"]
end

node_operator(("Operator"))

node_operator -->|"starts simulation"| node_bringup
node_bringup -.->|"launches"| node_gazebo
node_bringup -.->|"loads model"| node_robot_model
node_operator -->|"drives manually"| node_teleop
node_operator -->|"starts mapping"| node_slam
node_operator -->|"explores environment"| node_teleop
node_operator -->|"saves map"| node_map_saver
node_slam -.->|"uses parameters"| node_slam_config
node_map_saver -->|"writes map"| node_map_store
node_operator -->|"starts navigation"| node_navigation_launch
node_navigation_launch -->|"uses saved map"| node_map_server
node_navigation_launch -.->|"launches localization"| node_localization
node_navigation_launch -.->|"launches navigation"| node_move_base
node_navigation_launch -.->|"configures planner"| node_planner
node_operator -->|"sets pose and goals"| node_rviz

click node_bringup "https://github.com/anscer/ar100/blob/main/start_anscer/launch/start_anscer.launch"
click node_robot_model "https://github.com/anscer/ar100/blob/main/anscer_description/urdf/anscer_description.xacro"
click node_gazebo "https://github.com/anscer/ar100/blob/main/anscer_gazebo/launch/anscer_gazebo.launch"
click node_teleop "https://github.com/anscer/ar100/blob/main/anscer_teleop/nodes/anscer_teleop_key"
click node_slam "https://github.com/anscer/ar100/blob/main/anscer_slam/launch/anscer_slam.launch"
click node_slam_config "https://github.com/anscer/ar100/blob/main/anscer_slam/config/gmapping_params.yaml"
click node_map_store "https://github.com/anscer/ar100/blob/main/anscer_navigation/maps/map.pgm"
click node_navigation_launch "https://github.com/anscer/ar100/blob/main/anscer_navigation/launch/anscer_navigation.launch"
click node_localization "https://github.com/anscer/ar100/blob/main/anscer_navigation/launch/localization/amcl_localization.launch"
click node_move_base "https://github.com/anscer/ar100/blob/main/anscer_navigation/param/move_base_params.yaml"
click node_planner "https://github.com/anscer/ar100/blob/main/anscer_navigation/launch/navigation/dwa_navigation.launch"
click node_rviz "https://github.com/anscer/ar100/blob/main/anscer_navigation/rviz/anscer_navigation.rviz"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_bringup,node_robot_model,node_gazebo toneBlue
class node_teleop toneAmber
class node_slam,node_slam_config,node_map_saver,node_map_store toneMint
class node_navigation_launch,node_map_server,node_localization,node_move_base,node_planner,node_rviz toneRose
class node_operator toneIndigo
```

## Components

### Robot Simulation

- [Simulation Bringup](https://github.com/anscer/ar100/blob/main/start_anscer/launch/start_anscer.launch): `start_anscer/launch/start_anscer.launch`
- [Robot Description](https://github.com/anscer/ar100/blob/main/anscer_description/urdf/anscer_description.xacro): `anscer_description/urdf/anscer_description.xacro`
- [Gazebo World](https://github.com/anscer/ar100/blob/main/anscer_gazebo/launch/anscer_gazebo.launch): `anscer_gazebo/launch/anscer_gazebo.launch`

### Robot Control

- [Keyboard Teleoperation](https://github.com/anscer/ar100/blob/main/anscer_teleop/nodes/anscer_teleop_key): `anscer_teleop/nodes/anscer_teleop_key`

### Mapping

- [SLAM Launch](https://github.com/anscer/ar100/blob/main/anscer_slam/launch/anscer_slam.launch): `anscer_slam/launch/anscer_slam.launch`
- [SLAM Parameters](https://github.com/anscer/ar100/blob/main/anscer_slam/config/gmapping_params.yaml): `anscer_slam/config/gmapping_params.yaml`
- **Map Saver**
- [Saved Map](https://github.com/anscer/ar100/blob/main/anscer_navigation/maps/map.pgm): `anscer_navigation/maps/map.pgm`

### Autonomous Navigation

- [Navigation Launch](https://github.com/anscer/ar100/blob/main/anscer_navigation/launch/anscer_navigation.launch): `anscer_navigation/launch/anscer_navigation.launch`
- **Map Server**
- [AMCL Localization](https://github.com/anscer/ar100/blob/main/anscer_navigation/launch/localization/amcl_localization.launch): `anscer_navigation/launch/localization/amcl_localization.launch`
- [Move Base](https://github.com/anscer/ar100/blob/main/anscer_navigation/param/move_base_params.yaml): `anscer_navigation/param/move_base_params.yaml`
- [DWA Planner](https://github.com/anscer/ar100/blob/main/anscer_navigation/launch/navigation/dwa_navigation.launch): `anscer_navigation/launch/navigation/dwa_navigation.launch`
- [Navigation RViz](https://github.com/anscer/ar100/blob/main/anscer_navigation/rviz/anscer_navigation.rviz): `anscer_navigation/rviz/anscer_navigation.rviz`

### Other components

- **Operator**

## Connections

- Operator → Simulation Bringup: starts simulation (evidence: `README.md`)
- Simulation Bringup → Gazebo World: launches
- Simulation Bringup → Robot Description: loads model
- Operator → Keyboard Teleoperation: drives manually (evidence: `README.md`)
- Operator → SLAM Launch: starts mapping (evidence: `README.md`)
- Operator → Keyboard Teleoperation: explores environment (evidence: `README.md`)
- Operator → Map Saver: saves map (evidence: `README.md`)
- SLAM Launch → SLAM Parameters: uses parameters
- Map Saver → Saved Map: writes map (evidence: `README.md`)
- Operator → Navigation Launch: starts navigation (evidence: `README.md`)
- Navigation Launch → Map Server: uses saved map (evidence: `README.md`)
- Navigation Launch → AMCL Localization: launches localization
- Navigation Launch → Move Base: launches navigation
- Navigation Launch → DWA Planner: configures planner
- Operator → Navigation RViz: sets pose and goals (evidence: `README.md`)
