/mv_final

Final project of 6.801/6.866 Machine Vision

Primary LanguageC#

Controlled Landing With TTC

Final project of 6.801/6.866 Machine Vision

Quick Start

  • Install packages
    • pip install matplotlib
    • pip install mlagents-envs
    • pip install gym_unity
    • pip install attrdict
    • Clone williamd4112/py-ttc and run pip install -e .
  • Get Unity build
    • Download from here to env/
    • Decompress the file and it should look like
      env/
        |_FlyCamera/ (or whatever environment name)
              |_windows/
              |_linux/
      
  • Go to sandbox/ and run sample code python enjoy_flycamera.py
  • Go to ttc_landing/ and run python run_basic.py

Work on Unity

Experiments on TTC landing control in different scenarios

  • Basic
python run_basic.py
  • Dust
python run_dust.py
  • Cloudy
python run_cloudy.py
  • RotationalLight
python run_rotaional_light.py
  • Windy
python run_windy.py

Plotting the results

python plot_all_results.py --logdir results/{Basic, Dust, Cloduy, Windy}