How furkangltkn/raspberry-pi-client works
This repository is a Raspberry Pi vehicle gateway: it reads serial telemetry from existing devices and BNO055 sensor data, then exchanges telemetry and commands with a TCP backend. On the vehicle side, commands and autonomous telemetry drive GPIO/VFD controls, while heartbeat loss and emergency state trigger safety stops. The README documents BNO055 calibration and configurable sampling/filter values. The excerpts show connection setup and safety behavior, but omit most command dispatch and sensor-reading code, so those internal links are not asserted.
Main entry points: raspberry.py IMU calibration · config.ini IMU settings
Components 13
Sensor acquisition
- Serial telemetry
raspberry.py - BNO055 input
raspberry.py - IMU calibration
raspberry.py - IMU settings
config.ini
Backend communication
- Gateway runtime
raspberry.py - TCP connection
raspberry.py - Telemetry exchange
raspberry.py - Command listener
raspberry.py
Vehicle control
- Autonomous telemetry
raspberry.py - Safety interlocks
raspberry.py - GPIO and VFD control
raspberry.py
Other components
- Vehicle sensors
- Backend server
Connections 13
- Vehicle sensors → Serial telemetry: serial data
README.md - Vehicle sensors → BNO055 input: I2C data
README.md - IMU settings → IMU calibration: configures
README.md - BNO055 input → IMU calibration: calibrates
README.md - Serial telemetry → Telemetry exchange: sends readings
README.md - IMU calibration → Telemetry exchange: sends readings
README.md - Gateway runtime → TCP connection: connects
raspberry.py - Telemetry exchange → Backend server: sends telemetry
README.md - Backend server → Command listener: sends commands
README.md - Command listener → GPIO and VFD control: dispatches controls
raspberry.py - Autonomous telemetry → GPIO and VFD control: controls motion
raspberry.py - Safety interlocks → GPIO and VFD control: forces safety stop
raspberry.py - Backend server → Safety interlocks: heartbeat status
raspberry.py