180D-FW-2020 / Team8

Systems design capstone project
MIT License
2 stars 1 forks source link

file refactor #57

Closed nzani closed 3 years ago

nzani commented 3 years ago

Big push, please read through and review carefully File refactor to have following structure: ├── README.md ├── data │   ├── gesture │   │   ├── classifier_coeffs │   │   │   ├── left_swipe_classifier_bias.csv │   │   │   └── left_swipe_classifier_coeffs.csv │   │   └── training_data │   │   ├── meat_gesture_database_testing.csv │   │   ├── meat_gesture_database_testing_fixed.csv │   │   ├── meat_gesture_database_training.csv │   │   └── meat_gesture_database_training_fixed.csv │   ├── gui │   │   ├── model.png │   │   ├── model_qr.png │   │   ├── video.mp4 │   │   └── video2.mp4 │   ├── img │   │   ├── hom_model │   │   │   ├── both_env.png │   │   │   ├── both_model.png │   │   │   ├── bottom_right_env.png │   │   │   ├── bottom_right_model.png │   │   │   ├── env.png │   │   │   ├── env2.png │   │   │   └── model.png │   │   └── vid_model │   │   └── model.png │   └── vid │   ├── video.mp4 │   └── video2.mp4 ├── environment.yml ├── run_clang.sh ├── src │   ├── comms │   │   └── mqtt │   │   ├── message_schema.json │   │   ├── mqtt_link.py │   │   └── mqtt_message.py │   ├── envrd │   │   ├── init.py │   │   ├── audio.py │   │   ├── gesture_detector │   │   │   ├── gest_classifier.py │   │   │   └── training │   │   │   ├── IMU.py │   │   │   ├── LIS3MDL.py │   │   │   ├── LSM6DSL.py │   │   │   ├── LSM9DS0.py │   │   │   ├── LSM9DS1.py │   │   │   ├── calibrateBerryIMU.py │   │   │   ├── create_gesture_database.py │   │   │   ├── csv_test.py │   │   │   ├── gesture_training.py │   │   │   └── soft_SVM.py │   │   ├── hand_tracker.py │   │   └── objdet │   ├── evthlr │   ├── gui │   │   ├── gui.py │   │   └── gui_fsm.py │   └── imgproc │   ├── homography │   │   └── static_homography.py │   ├── message_placer.py │   └── video_embedder │   ├── init.py │   ├── vid_embed.py │   └── vid_embed_gui.py └── test ├── comms │   ├── rx.py │   └── tx.py ├── envrd │   ├── test_audio.py │   └── test_speech.py ├── gui │   ├── gui.py │   ├── model.png │   └── model2.png ├── imgproc │   └── test_vid_embed.py └── test.py

Notes on structure:

If you guys want, I can continue to build this out before an eventual bigger commit, since this isn't quite complete/could use some editing; for example, we might want gesture rec, hand track, and even flat surface det in the imgproc or a general data proc subdir, but I think it fits where it is now (since it's all abt reading in the environment). Also, like I said above, test and data subdirectories should probably be shuffled around a bit.

Remember, the name of the game is just ease of understanding, for our selves and anyone else looks at this. If something is a little confusing but more or less flows, don't worry too much; if I changed something in the file structure that makes no sense whatsoever, though, or you have a better way to do it, lmk and I'll shuffle stuff.

n8atnite commented 3 years ago

Have you tested gui.py and other scripts to verify that new paths haven't messed anything up?

Also I propose we rename 'evthlr' to 'utility' and place all abstract classes (FSM, threading, etc) in there.