refactored a little bit of Runner to make it more consistent.
changed the actions to a parsed json rather than hardcoded to make it easier for others to use rp, and so that its easier down the line
refactored a little bit of Runner to make it more consistent.
changed the actions to a parsed json rather than hardcoded to make it easier for others to use rp, and so that its easier down the line
took a TON of time and learning but i made a new file and some new methods in order to accurately display status!
it updates independently every second, rather than every loop. and, everything there is actual information, nothing pre-written!
todo:
wrote a TON of code in order to get to this point. drawing the status lines is now halfway there (there’s front end but no back end). i also implemented it in such a way that (hopefully) making this look pretty wont mean rewriting a lot of code.
onto writing the functionality!
added a stop command which allows me to stop a command that i ran from the tui!
commands now run in their own thread! this makes sure that i cant run multiple commands on the pico at the same time.
finally have commands running with their output!
moved everything into their own files, to keep stuff more organized.
learned what .hpp is.
now i can move on to actually making it functional !!!
did a lot of backend changes! i added a lot of error handling, changed the terminal and each section to classes, and added colors. i also added titles to each section.
i made a vector with actions and keybinds to each of those actions! i can also go up and down with arrow keys and use enter or spacebar to select that action. i also made one of my windows into logs, and made sure that it only shows the latest lines!
learning c++ asw as how to make a tui!
i made something that splits my windows into 3, outputs a changing variable (time), and takes my keyboard inputs and does stuff with them!
im hoping to learn more UI and then start on the actual functionality.
bug fixes
ready to ship!
todo:
i designed the board, including connections for a raspberry pi zero 2 w for computing, a dac, a small screen, a rotary encoder w click and 3 buttons.
next:
OKAY so i kinda forgot to make updates…
but here’s what ive done so far:
LOTS of hours put in. in summary:
image is of a real chess match that my bots played, saved and then opened in lichess. you can see in the bottom right that it ended in a draw, which is a good thing
had a lot of brainstorming and ended up designing these 6 letters. i’m unhappy with a few but i will go back and fix later
spent lots of time and a lot of headaches improving email speeds. its now a bit slower than gmail but a lot faster than previous.
read receipts on emails that carry over to other email apps. also, i can now write and send emails :)
YAYYYYY!!!
i have REAL emails from my google account!
still a lot to do, but this is great progress :)