How freenove/freenove_big_hexapod_robot_kit_for_raspberry_pi works
This repository implements the Freenove Raspberry Pi hexapod kit: a desktop client sends movement and accessory commands to a robot-side server, which dispatches control to sensors and actuators; video and telemetry return to the client. The client also provides face, calibration, and LED interfaces. The source index supports the main module relationships, but many server internals and UI callbacks were not sampled, so those links are omitted where caller evidence is unavailable.
Main entry points: server.py Command Server · Main.py Client App · Client.py Client Network · control.py Gait Control
Components 24
Desktop Client
- Client App
Code/Client/Main.py - Control UI
Code/Client/ui_client.py - Client Network
Code/Client/Client.py - Calibration
Code/Client/Calibration.py - Face Features
Code/Client/Face.py - Face UI
Code/Client/ui_face.py - LED UI
Code/Client/ui_led.py
Robot Server
- Server Launcher
Code/Server/main.py - Command Server
Code/Server/server.py - Gait Control
Code/Server/control.py
Robot Hardware
- Servo Control
Code/Server/servo.py - PWM Expander
Code/Server/pca9685.py - IMU Processing
Code/Server/imu.py - MPU6050 Driver
Code/Libs/mpu6050/mpu6050/mpu6050.py - Camera Capture
Code/Server/camera.py - Robot Sensors
Code/Server/adc.py - Ultrasonic Sensor
Code/Server/ultrasonic.py - Buzzer
Code/Server/buzzer.py - LED Control
Code/Server/led.py
LED Driver
- Raspberry Pi LEDs
Code/Server/rpi_ledpixel.py - SPI LEDs
Code/Server/spi_ledpixel.py - WS281x Driver
Code/Libs/rpi-ws281x-python/library/lib/ws2811.c
Other components
- Operator
- TCP Peer
Connections 24
- Operator → Client App: operates
Code/Client/Main.py - Client App → Control UI: builds UI
Code/Client/Main.py - Client App → Client Network: sends commands
Code/Client/Main.py - Client App → Calibration: uses calibration
Code/Client/Main.py - Client App → Face UI: builds face UI
Code/Client/Main.py - Client App → LED UI: builds LED UI
Code/Client/Main.py - Client App → Face Features: uses recognition
- Client Network → TCP Peer: connects and sends
Code/Client/Client.py - Server Launcher → Command Server: starts server
Code/Server/main.py - Command Server → TCP Peer: serves commands
Code/Server/server.py - Command Server → Gait Control: dispatches commands
Code/Server/server.py - Command Server → Camera Capture: requests frames
Code/Server/server.py - Command Server → LED Control: dispatches LED commands
Code/Server/server.py - Command Server → Robot Sensors: reads battery
Code/Server/server.py - Command Server → Ultrasonic Sensor: reads distance
Code/Server/server.py - Command Server → Buzzer: sets buzzer state
Code/Server/server.py - Gait Control → Servo Control: commands servos
Code/Server/control.py - Gait Control → IMU Processing: reads attitude
Code/Server/control.py - Servo Control → PWM Expander: uses PWM driver
Code/Server/servo.py - IMU Processing → MPU6050 Driver: reads sensor
Code/Server/imu.py - LED Control → Raspberry Pi LEDs: uses pixel driver
Code/Server/led.py - LED Control → SPI LEDs: uses SPI driver
Code/Server/led.py - Raspberry Pi LEDs → WS281x Driver: uses WS281x
Code/Server/rpi_ledpixel.py - Client Network → Command Server: exchanges video and commands