Ancestors

Written by Attie Grande on 2025-01-02 at 18:33

I've not used WebGL or WebSerial before... but this came together fairly quickly.

It's been good, aside from the general "ick" that JavaScript gives me... especially when working with binary data and/or doing maths.

Accelerometer is at the top, then gyro in the middle, and magnetometer at the bottom.

The right-hand model will be a stabilised orientation, when I've got my head around all the Maths and sensor-fusion magic.

Big pain points: buffer handling (wow, yuck), and the CBOR2 module.

=> View attached media

=> More informations about this toot | More toots from attie@chaos.social

Written by Attie Grande on 2025-01-02 at 18:47

Fly Lego heli, fly!

There is quite a bit of drift on the gyros (a known / common issue), and the accelerometer seems to often have a vector length of ~10G (not just 9.806G)...

=> View attached media

=> More informations about this toot | More toots from attie@chaos.social

Toot

Written by Attie Grande on 2025-01-03 at 23:02

Two takeaway things from today.

First, I think I'm slowly sort of starting to understand Quaternions. Maybe. 🤯

Second, I started looking at getting the magnetometer to give useful data, and calibration (or rather removing the offset) is a big part of it... I plotted one point for every sensor reading, and wow - I didn't expect it to look so good... it's a really good-looking sphere! "Calibration" basically involves putting the center of that sphere at the origin, and I should be good to go(?!)

=> View attached media

=> More informations about this toot | More toots from attie@chaos.social

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113766915023802878
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
260.742526 milliseconds
Gemini-to-HTML Time
0.816418 milliseconds

This content has been proxied by September (3851b).