Automatic night mode detection and stealth operation: - Ambient light detection: auto-switch at 50 lux threshold - Motor speed reduction: 50% speed in stealth mode - LED control: dim to 5% minimum brightness with slow blue fade - Face-only mode: disable TTS speaker, show text on face - IR-based tracking: use IR cameras only (RGB disabled) - Face brightness: reduce to 30% for low-light visibility - Manual override: voice commands and gamepad toggle (Y button) - Smooth transitions: 1-second fade between modes with ramps Features: - Hysteresis: 5 lux band prevents mode flickering - Light sensor smoothing: 5-sample averaging for stability - Transition manager: smooth motor ramp (2s), LED fade (0.5s) - Multiple sensor support: RealSense IR, phone ambient sensor - Stealth LED pattern: slow breathing dim blue (0.3 Hz) Configuration: - YAML-based threshold and behavior settings - Per-subsystem transition timing - Tracking parameter tuning for IR mode - Face control with contrast boost Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Description
SaltyLab self-balancing bot firmware (STM32F722)
Languages
Python
67.1%
C
11.4%
JavaScript
9.2%
OpenSCAD
7.8%
HTML
1.5%
Other
2.9%