Skip to content

foobarbecue/afterflight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This project is no longer maintained and since it has not been updated to deal with the many changes in UAV log formats over the last few years, it's no longer very useful. Someday I hope to have the time to revive this. -- foobarbecue, 29 June 2016

afterflight

An application for analysis of UAV log and video.

Introductory video with quickstart is at http://youtu.be/8XBCBC2oJ70 .

Installing the development version

  1. make sure you have scipy and matplotlib installed on your system. On ubuntu, that means doing: sudo apt-get install scipy matlplotlib. These packages often do not install correctly through the python package system.
  2. Clone the afterflight repository to with git clone https://github.com/foobarbecue/afterflight.git . From now on
  3. In the directory that is created (called afterflight unless you specified otherwise), run pip install -r ./afterflight/requirements.txt. This will install the remaining dependancies.
  4. Create settings_local.py based on the example settings_local_example.py. Usually you can just run cp settings_local_example.py settings_local.py, but if you want to use a database other than sqlite (such as postgres) this is where your database access information will go.
  5. Create your database tables by running python afterflight/manage.py syncdb.
  6. Run a local development server: cd afterflight && python ./manage.py runserver. By default this will run at http://localhost:8000 , so you can point your browser there to get started.
  7. If you want to run this on a public server, follow https://docs.djangoproject.com/en/1.5/howto/deployment/ .
  8. If you want to enable login using providers such as google and facebook, you will need to add credentials for those services as explained here https://github.com/pennersr/django-allauth (afterflight uses django-allauth for authentication)

Installing the release version

Doing it this way is a work in progress and probably not yet functional.

  1. make sure you have scipy and matplotlib installed on your system. On ubuntu, that means doing: sudo apt-get install scipy matlplotlib. These packages often do not install correctly through the python package system.
  2. pip install afterflight
  3. Create settings_local.py based on the example settings_local_example.py. Usually you can just run cp settings_local_example.py settings_local.py, but if you want to use a database other than sqlite (such as postgres) this is where your database access information will go.
  4. Create your database tables by running python afterflight/manage.py syncdb.
  5. Run a local development server: python afterflight/manage.py runserver. By default this will run at http://localhost:8000 , so you can point your browser there to get started.
  6. If you want to run this on a public server, follow https://docs.djangoproject.com/en/1.5/howto/deployment/ .
  7. If you want to enable login using providers such as google and facebook, you will need to add credentials for those services as explained here https://github.com/pennersr/django-allauth (afterflight uses django-allauth for authentication)