Sun, Aug 18, 2024A lot of reading documantation, switched the build core to arduino-pico. core0 now runs tasks, core1 runs the control loop. core0 will initialize everything and then start core1. If core0 detects an error on core1, it can try to restart it. github.com/Orange-Space-Technologies/OrangeFlight/commit/230c66ea84bdf05d02f1c9324ab74902c1c25954Sun, Aug 18, 2024Implement a basic task system, it prioritizes the tasks that haven't run for the longest + takes into account their priority (timesincelast_run * priority), default priority is 10. 0 - task will never run, 50 - most important. One potential problem is, that if a task has high enought priprity, it can be selected every single time over every other task. github.com/Orange-Space-Technologies/OrangeFlight/commit/5c8a123beee5012ea86adb03fcd412b827abec25Sat, Aug 17, 2024github.com/Orange-Space-Technologies/OrangeFlight/commit/d8736277129bab94676fc24e467bf2612344588c Add some basic code. Start working on the task system.Wed, Jul 31, 2024Get the rewritten checks working: github.com/Orange-Space-Technologies/AstroFlight/commit/d37a511e740f236e6aacf6af98fb23a4cccdd859 The new checks work better that the original onesWed, Jul 31, 2024Start reimplementing stage transition checks: github.com/Orange-Space-Technologies/AstroFlight/commit/80700535f057039c35e7e2d92a1d08ba8b054917 Not working, WIP. Also renamed Launch to PoweredAscent: github.com/Orange-Space-Technologies/AstroFlight/commit/41fa0c7fe0e265f822252b923fa2e70d32e4fa8cTue, Jul 30, 2024Add logging, improve control thread. Commit: github.com/Orange-Space-Technologies/AstroFlight/commit/54945ebc2521e0ccb1aaab33b18b719116e6012aTue, Jul 30, 2024Implement control thread: github.com/Orange-Space-Technologies/AstroFlight/commit/2347aedbb080f692ec4c68c9fe4c39d4088088feTue, Jul 30, 2024Implemented basic software-in-the-loop testing support. It: • Reads simulation data from a CSV file (I wrote a custom parser for OpenRocket CSV files specifically, they include comments, so a normal CSV reader failed to parse it) • Runs the same code for figuring out the state vector of the vehicle • Runs the control loop as it would under normal operation (not implemented yet, working on it rn) • Logs the data as usual (not implemented yet, working on it rn) Here is the commit: github.com/Orange-Space-Technologies/AstroFlight/commit/de32660288a33aac8e6839d8cf85433c3f5787f3Mon, Jul 29, 2024I forgot to commit the changes, but i worked on it for like +- 50 minutes github.com/Orange-Space-Technologies/AstroFlight/commit/4a7145fccd44409638b6f6383c8b8b7d47e12569Sun, Jul 28, 2024Main commit: github.com/Orange-Space-Technologies/AstroFlight/commit/3670231f9e8140bf06a0c22c012654e1c204707e Other changes made in this session: • github.com/Orange-Space-Technologies/AstroFlight/commit/a12e14688cfbd8b2706223656bfa3af9a96b0738 • github.com/Orange-Space-Technologies/AstroFlight/commit/d625cbecd1be188d79373383720dbe706c375f50 • github.com/Orange-Space-Technologies/AstroFlight/commit/e571f4192aeb13039926e8b47f604bcb922da9b9Sun, Jul 28, 2024github.com/Orange-Space-Technologies/AstroFlight/commit/ac0bda60084d5bb9717a49acebaf297a3f33b03cFri, Jul 26, 2024Basic Rust project setup: github.com/Orange-Space-Technologies/AstroFlight/commit/51579c43863f188f8e06c179ae8bc8a10ac6ec4a
A lot of reading documantation, switched the build core to arduino-pico. core0 now runs tasks, core1 runs the control loop. core0 will initialize everything and then start core1. If core0 detects an error on core1, it can try to restart it. github.com/Orange-Space-Technologies/OrangeFlight/commit/230c66ea84bdf05d02f1c9324ab74902c1c25954
Implement a basic task system, it prioritizes the tasks that haven't run for the longest + takes into account their priority (timesincelast_run * priority), default priority is 10. 0 - task will never run, 50 - most important. One potential problem is, that if a task has high enought priprity, it can be selected every single time over every other task. github.com/Orange-Space-Technologies/OrangeFlight/commit/5c8a123beee5012ea86adb03fcd412b827abec25
github.com/Orange-Space-Technologies/OrangeFlight/commit/d8736277129bab94676fc24e467bf2612344588c Add some basic code. Start working on the task system.
Get the rewritten checks working: github.com/Orange-Space-Technologies/AstroFlight/commit/d37a511e740f236e6aacf6af98fb23a4cccdd859 The new checks work better that the original ones
Start reimplementing stage transition checks: github.com/Orange-Space-Technologies/AstroFlight/commit/80700535f057039c35e7e2d92a1d08ba8b054917 Not working, WIP. Also renamed Launch to PoweredAscent: github.com/Orange-Space-Technologies/AstroFlight/commit/41fa0c7fe0e265f822252b923fa2e70d32e4fa8c
Add logging, improve control thread. Commit: github.com/Orange-Space-Technologies/AstroFlight/commit/54945ebc2521e0ccb1aaab33b18b719116e6012a
Implement control thread: github.com/Orange-Space-Technologies/AstroFlight/commit/2347aedbb080f692ec4c68c9fe4c39d4088088fe
Implemented basic software-in-the-loop testing support. It: • Reads simulation data from a CSV file (I wrote a custom parser for OpenRocket CSV files specifically, they include comments, so a normal CSV reader failed to parse it) • Runs the same code for figuring out the state vector of the vehicle • Runs the control loop as it would under normal operation (not implemented yet, working on it rn) • Logs the data as usual (not implemented yet, working on it rn) Here is the commit: github.com/Orange-Space-Technologies/AstroFlight/commit/de32660288a33aac8e6839d8cf85433c3f5787f3
I forgot to commit the changes, but i worked on it for like +- 50 minutes github.com/Orange-Space-Technologies/AstroFlight/commit/4a7145fccd44409638b6f6383c8b8b7d47e12569
Main commit: github.com/Orange-Space-Technologies/AstroFlight/commit/3670231f9e8140bf06a0c22c012654e1c204707e Other changes made in this session: • github.com/Orange-Space-Technologies/AstroFlight/commit/a12e14688cfbd8b2706223656bfa3af9a96b0738 • github.com/Orange-Space-Technologies/AstroFlight/commit/d625cbecd1be188d79373383720dbe706c375f50 • github.com/Orange-Space-Technologies/AstroFlight/commit/e571f4192aeb13039926e8b47f604bcb922da9b9
Basic Rust project setup: github.com/Orange-Space-Technologies/AstroFlight/commit/51579c43863f188f8e06c179ae8bc8a10ac6ec4a