I am going to pass those coordinates on forwards to an external device (servo motors).What are you going to do with that array? If you're going to step through it one item at a time — say to plot it, or feed it to some kind of output device — you don't need to store it. Calculate and filter each point as you go.
Right now I am just on testing phase. I need to make sure that the code does exactly what I want on a Pico. When it does what I want, then I will scale up and, most likely, will switch to Raspberry Pi 4B or 5 boards. The reason why I test on Pico first is cost. If I fry a Pico, that's not much. But I do not want to fry a full 4B or 5 boards as they are more expensive.
Also, those 100 elements are max number of elemements. In fact, I am going to filter some of these elements out later on. So final arrays will be smaller.
That's why memory is not really an issue right now as Pico is a temporary solution to do some testing.
I just need to figure out those errors I am getting in my previous reply.
Statistics: Posted by bestrasp — Wed Feb 05, 2025 7:25 pm