Skip to content

Flight control software for an unmanned balloon

Notifications You must be signed in to change notification settings

gdusbabek/floater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Floater

This is still very much a WIP. Some of the code works.

Dependencies

  • Imagemagick
  • Direwolf

Punchlist

  • mux control logic
  • turn on radio, activate ptt
  • stream gps data
  • get serious about some tests and project structure.
  • convert gps data into state
  • figure out correct APRS destination and digis.
  • generate APRS telemetry messages.
  • generate APRS wav
  • collect gps to object
  • collect temperatures to object (wire in 18b20)
  • send APRS wav
  • physically connect sound to radio.
  • capture image
  • image to wav
  • create sstv reception station.
  • send image as sstv
  • improve message quality on sstv picture.
  • more tests
  • cruise detection
  • descent detection
  • preflight check for devices.
  • video capture is not happening according to schedule.
  • battery meter solution (for desperate measures)
  • logic around emergency shutdown, power-up etc.
  • automation around initial set up:
  • floater starts on boot
  • floater reboots when things get really bad
  • configuration file.

Run things on the tracker

Get things there:

scp -r floater/*.py *.txt *.md [email protected]:/home/pi/fc/

Run it:

# maybe update the venv:
source /home/pi/tracker_env/bin/activate
pip install -r /home/pi/fc/requirements.txt
PYTHONPATH=/home/pi/fc/ /home/pi/tracker_env/bin/python /home/pi/fc/flight_controller.py --init

Other options: --test-gps, --test-vhf

Copy images and stuff back:

scp [email protected]:/home/pi/Pictures/photos/capture_0139.jpg ~/Desktop/test_photos/

Using Direwolf is cheating

I know. I have a branch that has a native APRS + AX.25 + AFSK implementation, but the wav files that get generated are worthless. :(