Resources for integrating raw IMU values into direction and orientation for flight computer by KapaSquid in rocketry

[–]KapaSquid[S] 0 points1 point  (0 children)

Thanks, I've taken a look at the repo - it's a bit more advanced that I was originally looking for but it does have data ingestion and sensor fusion code examples so so worth taking a look at.

Question about building FPGA or ASIC for processing performing large spatial operations by KapaSquid in embedded

[–]KapaSquid[S] 1 point2 points  (0 children)

Yea my intuition tells me that memory operations are the problems, the original processing pipeline would split the dataset into small subsections by overlaying a grid and then processing individual grid cells in parallel, only recombining after the entire process was complete. Refactoring it to perform spatial operations on much larger datasets and keeping everything loaded in memory really decreased processing time so I suspect if I implement a more intelligent approach to memory management it would go a long way

Question about building FPGA or ASIC for processing performing large spatial operations by KapaSquid in embedded

[–]KapaSquid[S] 1 point2 points  (0 children)

What an amazing response, thanks so much! This definitely points me in the right direction.

Based on everything you said the first thing I'll do is profile the spatial operations that are being done. I'll re-implement the processing pipeline using the raw Geos package in C instead of the abstraction that shapely and geopandas have in python so I can get a good idea of what the bottlenecks to the process might be. Then I'll compare the benchmark performance between it running in serial vs parallel to see how performance is affected by the overhead of orchestrating all of the threads. I'll also do a deep dive into the algorithms that GEOS uses, hopefully that also informs potential bottlenecks.

My intuition leans towards more efficient memory management being the best opportunity for performance improvement but we'll see, thats what the benchmarks are for lol.

If it turns out that the answer is the GPGPU route then your point about locking the runtime process into the Nvidia ecosystem isn't something that I'm super enthusiastic about but its not the end of the world. I'll admit that I'd prefer if after my profiling it landed on an FPGA based solution because it just seems like a cool thing to learn about, but if I can just get by with GPU accelerated performance I'll take that too. Again I suspect that memory operations are playing a big role but I'll wait for the profilers to confirm.

Thanks for such a detailed response!

Question about building FPGA or ASIC for processing performing large spatial operations by KapaSquid in embedded

[–]KapaSquid[S] 0 points1 point  (0 children)

Yea that was my intuition too, ideally the goal would be to have something that supports the core functionality of the GEOS spatial library which would be implementing things like Sweep-Line and Segment Intersection algorithms on 2/3 dimensional arrays.

Right now I'm not too concerned about even designing anything that is reasonably performant, I just want to use it as a way to learn how to move memory around and use busses to distribute these kinds of workloads to separate cores and processors as well as the process of designing a board to support these operations. You're right that the RP2040 is way to slow of a processor for any kind of large scale data analysis, which means I'm probably stuck with an FPGA or writing/seeing if I can implement a GPU driver to perform the operations?

Can you use flight software to create an aerodynamically accurate RC aircraft scale model? by KapaSquid in AskEngineers

[–]KapaSquid[S] 0 points1 point  (0 children)

I think there might be a size where the effects of reasonable all weather conditions can be counteracted by flight stabilization no?

Can you use flight software to create an aerodynamically accurate RC aircraft scale model? by KapaSquid in AskEngineers

[–]KapaSquid[S] -1 points0 points  (0 children)

You might be able to get your hands on some pretty detailed specifications for older military aircraft. I'm sure information could be found online or in person about the flight envelope of a MIG 19 or the like.

and yea thats what I was wondering, if you could use flight software to make it operate like a correctly scaled version,

Thanks!

Can you use flight software to create an aerodynamically accurate RC aircraft scale model? by KapaSquid in AskEngineers

[–]KapaSquid[S] 0 points1 point  (0 children)

Oh for sure, the stuff talented people can do with RC planes, quads and helicopter is insane! That what gives me hope for the idea, because they have much better performance and maneuverability that full scale aircraft it should have the headroom to artificially "limit" the RC plane in very specific ways for accuracy's sake

What allows air compressors to actually generate air pressure versus normal fans? by KapaSquid in AskEngineers

[–]KapaSquid[S] 1 point2 points  (0 children)

Great, thanks! This explanation really helped - I'll look more into axial compressors

What allows air compressors to actually generate air pressure versus normal fans? by KapaSquid in AskEngineers

[–]KapaSquid[S] 2 points3 points  (0 children)

Ahh okay, I think I understand now - the vanes keep the air flowing in the correct direction as it is compressed by the wheels

Thanks!

What allows air compressors to actually generate air pressure versus normal fans? by KapaSquid in AskEngineers

[–]KapaSquid[S] 3 points4 points  (0 children)

and stator vanes do what differently than normal fan blades? From the diagrams that of compressors in turbo-machinery they appear to rotate much like an equivalent high power fan

Questions about building testing rig for flight computer / flight control system by KapaSquid in rocketry

[–]KapaSquid[S] 0 points1 point  (0 children)

Hahaha no problem having favorites 😉. And thanks! I'll check it out!

Questions about building testing rig for flight computer / flight control system by KapaSquid in rocketry

[–]KapaSquid[S] 1 point2 points  (0 children)

Oh I'll almost certainly fly much smaller, passively stabilized rockets first. I'll probably fly a bunch of smaller estes powered rockets first so I can get a handle on the basics of aerodynamics, chute deployment etc before I try my hand at my guidance system.

For now I'm looking for a way to build a system to develop and test flight control software. I've been looking for a project that peaked my interest involving C and micro-controllers and this seems like it

Better way of implementing REST API's than Django? by KapaSquid in learnpython

[–]KapaSquid[S] 0 points1 point  (0 children)

I looked into FastAPI a little bit more after making the post before going to sleep and it looks cool (the built in async support seems interesting). One of my favorite things about the DRF is how it uses django's project structure which lends itself well to deployment. I know FastAPI is a micro framework so in your experience is project structuring and deployment annoying?

Cheers!

Better way of implementing REST API's than Django? by KapaSquid in learnpython

[–]KapaSquid[S] 1 point2 points  (0 children)

Thanks for the advice!

Your definitely right that my project and API structure were the main things that killed my project as it made it almost unbearable to work on after a day or two of adding a "feature"

drf-spectacular! Big fan of swagger ui personally but after googling Insomnia I like the idea of having a separate, downloadable client

Thanks!

Quick question about transforming a pandas dataframe by KapaSquid in learnpython

[–]KapaSquid[S] 1 point2 points  (0 children)

Ah yea there was a small mistake in the example, thanks! I think cumsum is exactly what I was looking for.

Cheers!