Go to file
2026-05-21 14:11:06 +02:00
camera_example readmes and gps changes 2026-05-21 14:11:06 +02:00
chip_test_example readmes and gps changes 2026-05-21 14:11:06 +02:00
math_example readmes and gps changes 2026-05-21 14:11:06 +02:00
shader_example readmes and gps changes 2026-05-21 14:11:06 +02:00
flake.nix fix and update package 2026-05-20 10:50:47 +02:00
main.cpp ai shizo babble 2026-05-19 13:32:24 +02:00
README.md readmes and gps changes 2026-05-21 14:11:06 +02:00

SkyLok

Pi Zero W 2 captures frames, runs a motion shader, sends diffs over LoRa.

  • camera_example/ — libcamera + libjpeg-turbo, streams MJPEG over TCP. Works.
  • shader_example/ — offscreen GL motion diff between two frames. Works on desktop.
  • math_example/ — pixel → 3D vertex projection (depth map to OBJ mesh).
  • chip_test_example/ — LR1121 LoRa + ICM-20948 IMU + u-blox GPS drivers/tests.
  • main.cpp — prototype that wires camera + shader + TCP together.

References:

Build main.cpp

g++ main.cpp -o main \
  $(pkg-config --cflags --libs libcamera libevent) \
  -levent -levent_pthreads -lpthread \
  -lturbojpeg -lglfw -lGLEW -lGL -lEGL -lGLESv2