Commit graph

37 commits

Author SHA1 Message Date
Julien Oculi 403f9181e3 feat!: WIP convert all motor controls to stack based task pool
This commit close this branch with WIP implementation of a stack based
task pool system to handle long running action (motor move) of
the kissStepper lib (that need a long `while`). The goal was to
allow handling of incomming serrial messages and motion cancellation
during stepper control loop.
2025-07-25 14:59:37 +02:00
Julien Oculi cbb17e279f feat: implement getter for turret home zero and position 2025-06-12 16:54:28 +02:00
Julien Oculi e1207b1122 refactor: better helper name for clarity 2025-06-12 16:15:38 +02:00
Julien Oculi 397eed8080 feat: prevent full rotation to preserve mecanic 2025-06-12 16:05:30 +02:00
Julien Oculi 5f0235eec7 refactor!: remove zero offset magic number 2025-06-12 09:46:52 +02:00
Julien Oculi 9a57d8a827 doc: improve magic numbers description 2025-06-12 09:39:27 +02:00
Julien Oculi 9385024914 fix: update step ratio values 2025-06-11 15:15:06 +02:00
Julien Oculi 10b2bd7cf6 feat: add a destructor for Turret to diasble steppers and lasers 2025-06-11 14:36:01 +02:00
Julien Oculi b78d3dc10d chore: prevent multiple includes for maths.h 2025-06-11 14:05:36 +02:00
Julien Oculi ae29743a5a doc: update and improve readme 2025-06-10 23:00:45 +02:00
Julien Oculi 633d9006fb style: fix missing formatting 2025-06-10 22:44:51 +02:00
Julien Oculi 0dcbe05688 feat!: update sketch to use new API 2025-06-10 22:43:21 +02:00
Julien Oculi ff568306d8 refactor!: use some structs to simplify and reduce code 2025-06-10 17:08:30 +02:00
Julien Oculi cf88273869 refactor: fix various lsp erros and warnings 2025-06-10 16:08:10 +02:00
Julien Oculi 3ab35f51f7 chore: configure clangd lsp for arduino 2025-06-10 15:54:55 +02:00
Julien Oculi 4e2ea69a81 doc: update README instructions 2025-06-10 11:37:04 +02:00
Julien Oculi 82ea36bda2 feat!: remove magic numbers for step ratios and offsets 2025-06-10 11:35:26 +02:00
Julien Oculi 4f79010aa2 fix: use long for position to prevent int overflow 2025-06-10 11:08:41 +02:00
Julien Oculi 52ccdaefb3 feat!: rewrite setup to test new turret mecha 2025-06-05 16:12:29 +02:00
Julien Oculi 547d51dfc7 feat!: update turret axis geometric model 2025-06-05 16:01:52 +02:00
Julien Oculi 3e745059a2 feat!: update angle to steps conversion factors 2025-06-05 15:59:14 +02:00
Julien Oculi 1831dfe0ab feat: remove old roll correction 2025-06-05 15:57:10 +02:00
Julien Oculi 91da5f2793 feat!: update turret home magic numbers 2025-06-05 15:53:35 +02:00
Julien Oculi aa300d5e0c feat!: update pin config interverting x and y 2025-06-05 15:51:39 +02:00
Julien Oculi 13902841be doc: update `README 2025-06-05 15:48:54 +02:00
Julien Oculi e307e96344 doc: update README 2025-06-05 15:40:35 +02:00
Julien Oculi 5575f0cb3c style: apply fmt with clang-format 2025-06-05 15:27:35 +02:00
Julien Oculi 3ef45566d5 chore: add clang-format config file 2025-06-05 15:25:15 +02:00
Julien Oculi f605172270 feat: implement main with a demo 2025-06-05 14:54:35 +02:00
Julien Oculi b093b54598 feat: try implement roll correction for maths 2025-06-05 11:05:36 +02:00
Julien Oculi 222fc2b172 feat: implement maths module 2025-06-05 11:02:33 +02:00
Julien Oculi 5f6091a671 feat: add maths compute definitions 2025-06-05 10:55:26 +02:00
Julien Oculi d759521530 fix: replace int by long to avoid overflow 2025-06-05 10:50:10 +02:00
Julien Oculi 6832f350da feat: implement Turret 2025-06-05 10:46:12 +02:00
Julien Oculi e59fb66c80 feat: add Turret class header definitions 2025-06-05 10:44:45 +02:00
Julien Oculi 1c7cdc2f1f feat: add IO and PINS definitions 2025-06-05 10:43:04 +02:00
Julien Oculi 3c1380296d initial commit 2025-06-05 10:42:03 +02:00