项目作者: gdusbabek

项目描述 :
Flight control software for an unmanned balloon
高级语言: Python
项目地址: git://github.com/gdusbabek/floater.git
创建时间: 2020-05-04T13:14:23Z
项目社区:https://github.com/gdusbabek/floater

开源协议:

下载


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:

  1. scp -r floater/*.py *.txt *.md pi@192.168.86.32:/home/pi/fc/

Run it:

  1. # maybe update the venv:
  2. source /home/pi/tracker_env/bin/activate
  3. pip install -r /home/pi/fc/requirements.txt
  4. 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:

  1. scp pi@192.168.86.32:/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. :(