Arquitectura de software
Fuente canónica:
docs/architecture/software.md · descargar originalContenedores (C4 nivel 2)
Sección titulada «Contenedores (C4 nivel 2)»flowchart LR
subgraph esp["ESP32-S3 (C/C++, FreeRTOS)"]
fw_safe["Supervisor de seguridad"]
fw_ctl["Control de motores (PID por rueda)"]
fw_com["Comunicación con la Pi"]
end
subgraph pi["Raspberry Pi 5 (ROS 2 Jazzy)"]
hw["atlas_hardware"]
safety["atlas_safety"]
loco["atlas_locomotion"]
perc["atlas_lidar · atlas_perception · atlas_sensors"]
nav["atlas_mapping · atlas_navigation"]
voice["atlas_voice / IA"]
bridge["Backend de la app (FastAPI)"]
end
web["Frontend de la app (React/TS)"]
web <--> bridge
bridge --> safety
voice --> safety
nav --> loco
loco --> safety
safety --> hw <--> fw_com
fw_com --> fw_safe --> fw_ctl
Contratos principales (a definir)
Sección titulada «Contratos principales (a definir)»| Contrato | Entre | Documento |
|---|---|---|
| Protocolo serie Pi ↔ ESP32-S3 | atlas_hardware ↔ firmware |
communications.md |
| Interfaces ROS 2 (topics, servicios, acciones) | Nodos | ros2.md |
| API y eventos de la app | Backend ↔ frontend | application.md |
| Intenciones de IA y voz | atlas_voice ↔ atlas_safety |
ai.md |
Lenguajes por defecto
Sección titulada «Lenguajes por defecto»Según la skill language-selection: C/C++ en firmware y nodos exigentes; Python en orquestación, prototipos e IA;
TypeScript en la web; Node.js para las herramientas de ADH.