# mind2real11/smartcar-ant-moving-2026 architecture

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

- Interactive diagram: https://gitdiagram.com/mind2real11/smartcar-ant-moving-2026
- Repository: https://github.com/mind2real11/smartcar-ant-moving-2026

## Overview

This repository documents a two-car autonomous competition system: the main car selects and approaches objects, coordinates a shared push with the follower, then returns along the boundary. The README describes these capabilities but provides no implementation excerpts; component paths are therefore null, and the diagram includes only documented relationships, cited to the README.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mission["Mission control"]
  node_scheduler["Main task scheduler"]
  node_approach["Approach and orbit"]
  node_push["Synchronized push"]
end

subgraph group_coordination["Perception and coordination"]
  node_search["Target search"]
  node_lora["LoRa coordination"]
  node_ir_follow["IR visual following"]
  node_return_vision["Boundary return vision"]
end

subgraph group_motion["Motion and return"]
  node_main_motion["Main-car motion control"]
  node_follower_motion["Follower motion control"]
  node_return_motion["Return motion control"]
end

node_arena(("Field objects"))

node_scheduler -->|"requests search"| node_search
node_search -->|"finds target"| node_arena
node_scheduler -->|"directs approach"| node_approach
node_approach -->|"executes movement"| node_main_motion
node_scheduler -->|"coordinates push"| node_push
node_push -->|"sends stages and feedforward"| node_lora
node_lora -->|"coordinates follower"| node_ir_follow
node_ir_follow -->|"corrects relative motion"| node_follower_motion
node_push -->|"drives main car"| node_main_motion
node_scheduler -->|"switches after final round"| node_return_vision
node_return_vision -->|"guides return"| node_return_motion

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_scheduler,node_approach,node_push toneBlue
class node_search,node_lora,node_ir_follow,node_return_vision toneAmber
class node_main_motion,node_follower_motion,node_return_motion toneMint
class node_arena toneIndigo
```

## Components

### Mission control

- **Main task scheduler**
- **Approach and orbit**
- **Synchronized push**

### Perception and coordination

- **Target search**
- **LoRa coordination**
- **IR visual following**
- **Boundary return vision**

### Motion and return

- **Main-car motion control**
- **Follower motion control**
- **Return motion control**

### Other components

- **Field objects**

## Connections

- Main task scheduler → Target search: requests search (evidence: `README.md`)
- Target search → Field objects: finds target (evidence: `README.md`)
- Main task scheduler → Approach and orbit: directs approach (evidence: `README.md`)
- Approach and orbit → Main-car motion control: executes movement (evidence: `README.md`)
- Main task scheduler → Synchronized push: coordinates push (evidence: `README.md`)
- Synchronized push → LoRa coordination: sends stages and feedforward (evidence: `README.md`)
- LoRa coordination → IR visual following: coordinates follower (evidence: `README.md`)
- IR visual following → Follower motion control: corrects relative motion (evidence: `README.md`)
- Synchronized push → Main-car motion control: drives main car (evidence: `README.md`)
- Main task scheduler → Boundary return vision: switches after final round (evidence: `README.md`)
- Boundary return vision → Return motion control: guides return (evidence: `README.md`)
