Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 922 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 922 Bytes

DSE2019

Waterbomber UAV Swarm

Coding Rules:

  1. Use Python 3.5+ (or Matlab for control if desired)
  2. Use clear, standard indentation according to PEP conventions
  3. Separate functions and code chunks into different files as much as possible for an overseeable structure
  4. NO HARDCODING! Make everything into variables and save values in other files, such as .csv, .txt, .xlsx, .mat and other data file formats. Do NOT save parameter values in a .py file which has to be edited manually if a value changes, as this is a perfect spot for bugs to show up.
  5. Write unit tests after finishing a block of code. Use the unittest module for this.
  6. When pushing code to the remote repository, push into your section's branch. Merges must be approved by info systems chief.
  7. Do not couple modules (eg. A.py imports from B.py, while B.py also imports from A.py)

Look at example.py for a proper python file layout