Buck Baskin · @buck
41 followers · 21 posts · Server fosstodon.org

New feature launch for : a managed runtime!

I'd been stuck trying to simplify complexity of managing a process and multiple sensor models since I introduced calibration (which added more complexity... not helping...). In the end I landed on a single tick function call with a dose of that can handle sensor readings of any type and takes care of the rest under the hood.

As always, it comes in and flavors

Blog: buckbaskin.com/blog/formak-run
Github: github.com/buckbaskin/formak/p

#formak #SFINAE #python #cpp

Last updated 2 years ago

Buck Baskin · @buck
32 followers · 19 posts · Server fosstodon.org

New feature launch for : Calibration!

This feature started with a straightforward idea: use FormaK to model a launch based on data. Unfortunately, FormaK was missing support for orienting the IMU in the rocket's frame. To fix this, I added calibration support for sensor and process models with the same syntax that supports states and control inputs.

New features coming soon!

NASA data: data.nasa.gov/Aerospace/Deorbi
Blog: buckbaskin.com/blog/calibratio
Github: github.com/buckbaskin/formak/p

#formak #rocket #nasa

Last updated 2 years ago

Buck Baskin · @buck
18 followers · 14 posts · Server fosstodon.org

There’s also the persnickety thing about the build time that I’d missed in the first version. The existing Sympy tooling slowed way down for a larger model, but it wasn’t clear where the slow down was coming from and I assumed it was in the compile stage. In the end after much debugging it turned out that calling simplify on a large expression didn’t scale well and took 100s of seconds.

Is there a tool to profile function calls as the program is running?

#python #formak #opensource

Last updated 2 years ago

Buck Baskin · @buck
13 followers · 10 posts · Server fosstodon.org

A new feature has landed for ! The original models only supported time varying state estimates and control inputs, now it’s easy to include fixed calibration parameters into the models at runtime. This unlocks new models, like the rocket model I referenced in my last feature release

Check out the “What’s New” page for more
github.com/buckbaskin/formak/b

#formak

Last updated 2 years ago

Buck Baskin · @buck
4 followers · 7 posts · Server fosstodon.org

Working on something new for . First order of business is writing out the kinematics math and sensor models, then it’s going to be a two step process to apply it to the data from a 2020 rocket launch.
1. `model.fit` to match params from data based on the scikit-learn interface
2. `cpp.compile` to generate the C++ for the optimized model

#formak #nasa #python #cpp

Last updated 2 years ago

Buck Baskin · @buck
4 followers · 6 posts · Server fosstodon.org

One of the things I learned that I didn’t know while developing this feature: . First and foremost, I don’t have a good mental model of how it works, especially when it comes to looking up compilers and setting options for compilers. benefits by being able to easily zip together Python, C++ and generated C++ in Bazel, but working on improving the C++ integration feels like stumbling in the dark hoping I find a light switch

#bazel #formak

Last updated 2 years ago

Buck Baskin · @buck
3 followers · 3 posts · Server fosstodon.org

A new feature has landed for ! Compiling Python to C++ is as easy as switching `python.compile` to `cpp.compile` github.com/buckbaskin/formak/p

#formak #python #cpp

Last updated 2 years ago

Buck Baskin · @buck
3 followers · 2 posts · Server fosstodon.org

Coming Soon! A new feature design is getting released for to compile models to models. Stay tuned!

#formak #python #cpp

Last updated 2 years ago

Buck Baskin · @buck
0 followers · 1 posts · Server fosstodon.org

A little if I may:

I'm Buck, by day I work on self driving cars and by night I work on open source. I'm currently focused on to magically translate Python to high performance C++. You can read more about FormaK here buckbaskin.com/blog/tag/formak

#introduction #formak

Last updated 3 years ago