Open LBP311 opened 2 years ago
Current status as of March 9:
origami.py
origami.py
and test (but maybe rename variables and functions to reflect that they are part of the test sensor)then we would still need to implement the buzzer, LED, and motor functions.
Estimated time: 1 hour
After this is done, go look at project board and clean up tasks. Also clean up extra files.
Progression for the Infrastructure Layer:
Phase 1: empty library
setup..py
that installs anorigami
libraryorigami.py
demo.py
that just callsimport origami
Goal of this phase: Make sure that the library/import process works. You should be able to run
Phase 2: library with "stub" functions that aren't actually implemented
setup..py
that installs anorigami
libraryorigami.py
has "dummy" functions defineddemo.py
that callsimport origami
and then calls each of its functions in sequenceGoal of this phase: Think about what functions you need for each part, what arguments each function needs to take, if you need a class, what type of return value each function should have.
If you run
all of the "dummy" functions should run.
Phase 3: library with working functions that are actually implemented
setup..py
that installs anorigami
libraryorigami.py
has functions with implementation filled in (for now, just the touch sensor)demo.py
that callsimport origami
and then calls each of its functions in sequenceGoal: actually test implementation, including edge cases (for example: if a part is not connected, error handling, etc.)
You should be able to test your implementation at any time by running