Commit graph

70 commits

Author SHA1 Message Date
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
20f5eb5405 Increaded ProotState definition to include used local variabels. 2023-05-23 22:44:30 +02:00
e95c47855b Split loading screen into four screens.
Added set loading screen function in the ProotState class.
2023-05-23 22:42:10 +02:00
4f37c94c22 Decrease the time between blinks. 2023-05-23 22:26:58 +02:00
3e6687ea34 Added a random blink call based on interrupts. 2023-05-23 22:24:51 +02:00
7a1c6894da Set the frame update speed back to 0.01 seconds per frame. 2023-05-23 22:16:45 +02:00
aa6ef89745 Added blink() function, and called it when message receive, and when the face is loaded. 2023-05-23 22:15:38 +02:00
a83da2c004 Fixed bug where next frame calculation of blink animation could go negative 2023-05-23 22:10:51 +02:00
903e920bef print returned frame number 2023-05-23 21:59:13 +02:00
3503474dbe Added printing and slowwed updating for debugging. 2023-05-23 21:54:14 +02:00
25c9b953bf Moved Blinking logic to the ProotState class.
Made ProotState class a singleton.
2023-05-23 21:51:06 +02:00
8dab8805e6 Removes safe mode from setting prootScreen image to canvas.
Set ProotScreen frame brightness to 100.
2023-05-23 21:09:50 +02:00
18e6964c6f convert loading image immediately to "RGB" mode 2023-05-23 21:06:35 +02:00
acf63c9b9a added the matrix as parameter to the set prootscreen function 2023-05-23 21:00:17 +02:00
dc2aa2c6d6 Added loading screen show function. 2023-05-23 20:58:43 +02:00
49ee35b55f Added todo's.
Added color definition to the Point2D class.
2023-05-23 20:35:58 +02:00
5180c414b7 Added the mouth and nose to be loaded and dawn with the blink animation. 2023-05-23 20:11:00 +02:00
e0df3b2e68 Cleaned up imports 2023-05-23 19:53:06 +02:00
50d46eae2f Increased timer granularity to ms 2023-05-23 19:51:52 +02:00
215028dad9 Added another timer for configuring matrix 2023-05-23 19:49:26 +02:00
a5246021f9 Added timing function to each step of precomputing the animations.
Added ProotState class and functions to structure and abstract blinking logic.
2023-05-23 19:45:50 +02:00
3bf5083b99 Added typing to all funtions.
Added a pixel mirror function and trying to print both eyes now.
2023-05-23 19:22:02 +02:00
c7d9d9a537 Added individual face features, and testing antrender morph on the left eye only 2023-05-23 18:51:19 +02:00
03c938c1fe bug fix 2023-05-22 23:00:10 +02:00
22a25532ba added new render mode test, and added code for the esp to handle multiple pin shorts 2023-05-22 21:41:27 +02:00
57917505ed cleaned up last remaining bugs in the test. now also setting very last frame 2023-05-21 23:56:30 +02:00
ae796b5c20 test 2023-05-21 23:54:02 +02:00
8bbdc7e7d7 test 2023-05-21 23:52:49 +02:00
22a4548249 test 2023-05-21 23:51:53 +02:00
46818fba86 test 2023-05-21 23:48:33 +02:00
6fb0bd7d68 test 2023-05-21 23:46:55 +02:00
8df375dc8c test 2023-05-21 23:45:44 +02:00
3aa8cb219f test 2023-05-21 23:42:51 +02:00
ebc96ecc56 blinkingTests 2023-05-21 23:39:51 +02:00
ed43c94302 quick test 2023-05-21 23:38:04 +02:00
25b4ff71c0 set image setting to safe, and added thubnailing after interpolating 2023-05-21 23:36:21 +02:00
600af22484 set base images 2023-05-21 23:30:31 +02:00
3c687f41b6 Merge branch 'main' of https://git.hostingwire.net/cisco/CiscoTheProot 2023-05-21 23:28:31 +02:00
97c21d5e62 comming for merge 2023-05-21 23:28:03 +02:00
Cisco the Proot
12fc99a8e8 fixed roy-test image location 2023-05-21 22:26:03 +01:00