Commit Graph

65 Commits

Author SHA1 Message Date
alban ce86a1cecb wip: add worldstate 2023-06-29 22:36:00 +02:00
alban 9b9e04ad63 fix: helios status trace time 2023-06-12 21:56:21 +02:00
alban 0f3ee7c54a fix: helios.status state 2023-06-12 19:27:44 +02:00
alban 526a78428b feat; add device status 2023-06-12 19:25:17 +02:00
Marc Planard 883c72ff24 cleanups 2023-06-10 18:53:10 +02:00
Marc Planard 9a5db444a0 cleanup and new grid 2023-06-10 18:47:04 +02:00
Marc Planard 81de6728fc fix warnings 2023-06-10 17:08:08 +02:00
Lapin Raving 256599095f Merge branch 'master' of git.interhacker.space:corpsmoderne/lazer_rust 2023-06-08 22:45:10 +02:00
Marc Planard 0a5000eea0 Merge branch 'master' of git.interhacker.space:corpsmoderne/lazer_rust 2023-06-08 22:39:26 +02:00
Marc Planard f61c36e897 Merge branch 'dev/marc' 2023-06-08 22:38:48 +02:00
Lapin Raving 08e78b9a88 feat: adding somme new transformation
* Rotate to rotate the image, !! Some point could be outside of the
  0-4096 range on x and y !!
  you should parameter a center and an angle. All the point will move
  around the center. The angle is un degre.
* Flip vertical: flip all the point verticaly. You should parameter an
  height where all point will flip
* Flip horizontaly. You should parameter an X corrodinate where all
  point will flip around.
2023-06-08 22:34:03 +02:00
Marc Planard 015ef9871c add command line 2023-06-08 22:33:05 +02:00
Marc Planard 177f08e461 fancy example 2023-06-08 22:23:01 +02:00
Lapin Raving 5f03d74080 Merge branch 'master' of git.interhacker.space:corpsmoderne/lazer_rust 2023-06-08 22:15:41 +02:00
Lapin Raving 0f72b64a15 fix: add a value do the redis db to draw
According to the new redis db value.
2023-06-08 22:13:42 +02:00
alban 481472d592 Merge branch 'feature/dac-trait' 2023-06-08 21:30:26 +02:00
Marc Planard d9b96f6090 fix draw loop 2023-06-08 21:06:33 +02:00
Marc Planard a791514cbe better error message for config issues 2023-06-08 20:34:09 +02:00
alban 560b3be71b fix: rename settings.toml 2023-06-08 20:22:36 +02:00
alban 6e97b1c441 fix: rename settings template 2023-06-08 20:21:51 +02:00
alban 50e9b43b71 Merge branch 'dev/marc' into feature/dac-trait 2023-06-08 20:20:42 +02:00
alban 4b135ce283 fix: rework device 2023-06-08 20:18:28 +02:00
Marc Planard 9c996b1029 fix tests 2023-06-08 15:49:29 +02:00
Marc Planard 22d007d938 fix warnings and make clippy happy 2023-06-07 18:25:33 +02:00
Marc Planard ad3b3803ce load transformers from config file 2023-06-07 17:26:30 +02:00
Marc Planard 80ec78efd3 merge 2023-06-07 12:39:59 +02:00
alban 259fdeb7b0 feat: Add device interface and factory
wip

fix borrowing issue and make everything compile

wip
2023-06-07 12:20:42 +02:00
Marc Planard 40abb3ac57 no need for these mod to be pub anymore 2023-06-06 11:44:33 +02:00
Marc Planard bc78b30b09 refacto transformer with module hierarchy 2023-06-06 11:32:05 +02:00
Marc Planard e899d8061c refacto transformer with module hierarchy 2023-06-06 11:31:45 +02:00
Marc Planard 7d7eec6695 refacto transformer with module hierarchy 2023-06-06 11:30:46 +02:00
alban 3588e3f4a2 wip 2023-06-05 21:21:35 +02:00
Marc Planard 1072ff4660 make clippy happy 2023-06-05 13:19:35 +02:00
Marc Planard a2372f9e9a more info 2023-06-05 13:12:49 +02:00
Marc Planard bb28bb0c5e integrate propper logging system 2023-06-05 13:07:43 +02:00
Marc Planard f20838e022 pick 'settings.toml' by default 2023-06-05 11:59:10 +02:00
Marc Planard 12ceb6f69b rename modifier to transformer 2023-06-05 11:21:16 +02:00
Marc Planard 9844475fa1 list of transformers 2023-06-05 11:00:19 +02:00
Marc Planard de26c1c793 first draft for transformers 2023-06-04 21:42:55 +02:00
Marc Planard d9450e903f add our own point definition 2023-06-04 21:31:32 +02:00
Marc Planard edba874ae7 refactor conf 2023-06-04 17:33:28 +02:00
Marc Planard 61ede78868 introducing LJResult<T> 2023-06-04 15:09:15 +02:00
Marc Planard 133f301d1c make redis_ctrl use conf 2023-06-04 15:03:09 +02:00
Marc Planard c5654c7ae0 make clippy happy 2023-06-04 12:56:24 +02:00
Marc Planard ec15004085 refactor Conf to be object oriented 2023-06-04 12:08:44 +02:00
Marc Planard 49830795e6 more errors refactoring 2023-06-04 12:02:41 +02:00
Marc Planard c18de96e10 refatoring errors 2023-06-04 11:50:05 +02:00
Marc Planard c25d977598 change a panic\! for an unreachable\! 2023-06-04 11:32:11 +02:00
Marc Planard b4766a3301 start to implement proper custom errors 2023-06-04 11:28:43 +02:00
alban 312a48ff5b feat: add tests for conf 2023-06-03 23:27:12 +02:00