Commit graph

26 commits

Author SHA1 Message Date
jpunkt
7ce7b70499 implemented reset command.
fixing bugs in statemachine and storyboard.
2022-01-24 20:12:59 +01:00
jpunkt
48b2d19ad3 bugfixes found testing storyboard 2022-01-21 00:11:35 +01:00
jpunkt
d139cb1b1f Improved lid switch handling.
Added check for lid switch to recordings.
2022-01-20 16:51:02 +01:00
jpunkt
4f8d97a7ff Implemented serial handshake with HELO pins.
Implemented stop action on lid close.
Untested: statemachine rewind on lid close.
2022-01-19 22:08:46 +01:00
jpunkt
2670c3c714 preparing lid sensor and helo pins 2022-01-18 21:35:05 +01:00
jpunkt
d713a5e2e9 implemented motor speeds. 2022-01-18 20:41:46 +01:00
jpunkt
d837134db5 Major refactoring:
- New Storyboard class now has execution logic included
- Implemented dummy storyboard for testing
- Language selection is a state in Statemachine
- Added test class for instantiating a Statemachine
2022-01-17 20:39:36 +01:00
jpunkt
a64fd6460a Implemented new command structure.
TODO: implement parallel execution in storyboard.
2022-01-16 22:10:13 +01:00
jpunkt
75c1d69850 Storyboard mechanism tested, works.
Improved light command structure.
2022-01-16 15:30:30 +01:00
jpunkt
06cbde4179 Updated storyboard mechanics
Updated statemachine
Implemented advanced choice mechanics
Still testing.
2022-01-14 22:47:19 +01:00
jpunkt
2c85f7ed46 Implemented all commands:
- Play sound with pygame (sounddevice is too flaky)
- Play sound during user interaction (interruptable)
- Blink LEDs during user interaction
- Flash LEDs during POST
2022-01-13 19:18:40 +01:00
jpunkt
77eb772776 implemented test-module
updated user-interaction
not working: record_sound()
2022-01-12 20:37:30 +01:00
jpunkt
1fc554ae25 Implemented debugging commands 2022-01-11 20:21:44 +01:00
jpunkt
3b60d7511e Implemented serial communication handshake.
Added button response commands.
2022-01-05 19:09:31 +01:00
jpunkt
fec7aa6d97 Changed PizzaHAL.send_cmd() to be compatible with teensy.
Added support for RGBW LEDs.
2021-12-21 19:13:28 +01:00
jpunkt
1fd975fd66 ready for open house presentation 2021-11-19 16:09:49 +01:00
jpunkt
f805379385 Cleaning up. 2021-11-05 07:30:30 +01:00
jpunkt
2e65514b2f Bugfixing camera sensor_mode. 2021-11-04 15:52:09 +01:00
jpunkt
0f5b331084 Reverting sound recording to wav. 2021-11-04 15:12:04 +01:00
jpunkt
fd1fa138d9 Reverting sound recording to wav. 2021-11-04 15:04:12 +01:00
jpunkt
4555d1ad89 Bugfixes... 2021-11-04 14:35:15 +01:00
Johannes Payr
900777c874 Bugfixes back. 2021-11-04 15:33:31 +02:00
jpunkt
939a8b4e4a Bugfixes... 2021-11-04 14:21:33 +01:00
jpunkt
711454a06c Going through TODOs for SIBI.
Implemented, untested:
- start button
- record sounds as mp3 (using pydub)
- video and audio converted to mp4
- added new state REWIND
2021-11-01 17:00:40 +01:00
jpunkt
16165b61bd Serial communication HAL on pi side works. 2021-10-29 18:40:27 +02:00
jpunkt
c657e782f0 implementing serial communication 2021-10-24 18:17:36 +02:00