# SaltyBot Diagnostic Self-Test System

Comprehensive hardware diagnostics and health monitoring for SaltyBot.

## Features

### Startup Checks
<<<<<<< HEAD
- RPLIDAR, RealSense, VESC, Jabra mic, ESP32 BALANCE, servos
=======
- RPLIDAR, RealSense, VESC, Jabra mic, ESP32-S3, servos
>>>>>>> 291dd68 (feat: remove all STM32/Mamba/BlackPill references — ESP32-S3 only)
- WiFi, GPS, disk space, RAM
- Boot result TTS + face animation
- JSON logging

### Runtime Monitoring
- Temperature (Orin GPU >80C, VESC >60C)
- Network latency
- Sensor FPS drops
- System resources

## Launch

```bash
ros2 launch saltybot_diagnostics diagnostics.launch.py
```

## Topics

- `/saltybot/diagnostics` (DiagnosticArray)
- `/saltybot/tts_say` (String) - Boot announcements
- `/saltybot/face/boot_animation` (String)

## Logs

Diagnostic logs: `/home/seb/saltybot-data/diagnostics/`

JSON format with hardware status, temperatures, and resource usage.
