Commit graph

116 commits

Author SHA1 Message Date
faa5b66587 stoped blink from overriding manual controll 2023-06-09 20:46:43 +02:00
6a0af064ce fixed bug in blink timer 2023-06-09 20:39:37 +02:00
919961a578 Added logic for the stunned face to the render and state scripts 2023-06-09 20:35:32 +02:00
Roy-vl
cbdddf065e Expanded animation tester to save animations as image frames and gifs. 2023-06-09 12:06:00 +02:00
Roy-vl
00e95fad1f Added two more graphics 2023-06-09 11:14:34 +02:00
Roy-vl
242566643c Fixed chaching bug when chach file did not exist yet.
Start of the alternative ant rander selection which pixels need duplication.
2023-06-09 11:09:56 +02:00
Roy-vl
a7d200ca82 Added Local animation testing script.
This allows animation development and testing on desktop only
2023-06-09 11:09:10 +02:00
e9ebf8bfb1 Update 'README.md' 2023-06-08 10:32:16 +02:00
1f01ab4a54 commented out print logging. 2023-06-05 22:27:54 +02:00
fa94782eb9 fixed bean setting bug. 2023-06-05 22:26:27 +02:00
100891e604 added more verbose logging for updating step for debugging. 2023-06-05 22:21:58 +02:00
9abfdab767 changed state singleton to behave like an singleton 2023-06-05 22:17:15 +02:00
6781c53cfd added printing to set animations for debugging. 2023-06-05 22:14:17 +02:00
82d0725cfa Added check for animations readyness before updating state. 2023-06-05 22:11:15 +02:00
d14f75058d added space to face generation printing. 2023-06-05 22:07:26 +02:00
56f45c5b15 Cast int to string to fix printing int. 2023-06-05 22:06:35 +02:00
a9ef0dc2d1 Add explicit face generation state print 2023-06-05 22:04:47 +02:00
94fb108cf6 removed "self" argument. 2023-06-05 21:59:11 +02:00
2c24e076ae removed usage of non-existing name 2023-06-05 21:57:52 +02:00
56b34cd083 Major refactoring now using State instead of ProotState.
Expect runtime bugs
2023-06-05 21:44:27 +02:00
18cf352d1a bug fix, correctly set the state in the bean state 2023-06-03 09:04:20 +02:00
0a3244e13f test to load pickles face images. 2023-05-31 19:58:10 +02:00
1a6b55b21d attempt pickling images 2023-05-31 19:53:07 +02:00
74b1a44168 added pickling from animation test. 2023-05-31 19:51:05 +02:00
37dd54aff7 fixed bug where update_screen was removed from prootstate class 2023-05-31 19:49:39 +02:00
9cc8fbaafc tighend timing flags for image to frame conversions 2023-05-31 19:09:54 +02:00
bb23a24fa4 Implemented state for beans..
Including setting based on received messages.
2023-05-31 18:56:15 +02:00
4c2dda2211 changed pin number to index instead of esp specific number 2023-05-31 18:50:35 +02:00
2788c1527e set the correct pin number reading 2023-05-31 18:49:46 +02:00
d7de65ae85 fixed off by one counting 2023-05-31 18:45:17 +02:00
0ec2abb46e print the pin number and state of received mqtt message to terminal. 2023-05-31 18:37:08 +02:00
da9965cb41 expanded the esp script to send messages whenever a button is pushed OR released. 2023-05-31 18:31:16 +02:00
834bc01610 Added an eye left O drawing 2023-05-31 17:31:37 +02:00
8631e1353f make Point2D mirror function duplicate point INCLUDING color value. 2023-05-31 17:26:10 +02:00
76d26b08c8 set the imaged draws from point arrays to use color 2023-05-31 17:15:42 +02:00
552e959ed5 Added two new left eye drawings. 2023-05-31 17:15:18 +02:00
Cisco the Proot
21c7299001 uploading pre parsed images 2023-05-29 20:19:14 +01:00
7c9df0f1c0 specified working directory of cache file 2023-05-29 20:40:35 +02:00
d35fc3b1ea changed the way to call Point2D functions.
Added missing point array generation code
2023-05-29 20:34:21 +02:00
3a9be4e4ea fixed function definition in update_screen 2023-05-29 20:27:12 +02:00
568e48f95d even more bugs and typos 2023-05-29 20:26:00 +02:00
a47b167a07 all the bug fixes 2023-05-29 20:24:34 +02:00
810e6f71d2 more bug fixing. 2023-05-29 20:23:33 +02:00
39022dc18c bug fixing 2023-05-29 20:17:02 +02:00
9f5fbc1c33 Correct use of class functions 2023-05-29 20:12:42 +02:00
af11b741c9 saved ProotState.py 2023-05-29 20:09:46 +02:00
ab34ad2455 Moved ProotState to own file.
Moved Point2D to own file.
Added caching for parsed images.
2023-05-29 20:09:29 +02:00
bdcb648765 Fixed drawing mistakes in ProotScreen.
Sped up ProotScreen animation.
2023-05-23 23:02:28 +02:00
989adc603d Set prootscreen image setting to safe mode 2023-05-23 22:59:58 +02:00
35cf042ed7 bug fix in initialisation 2023-05-23 22:45:40 +02:00