lewisxhe / SensorLib

Commonly used I2C , SPI device multi-platform libraries
MIT License
70 stars 15 forks source link

QMI8658 AttitudeEngine #3

Closed LazaroFilm closed 6 months ago

LazaroFilm commented 1 year ago

Has anyone succeeded in using the AttitudeEngine internal fusion from the QMI8658?

lyusupov commented 1 year ago

AttitudeEngine in QMI8658 has been inherited with a license acquired from Fairchild... Are there some useful applications available for FIS1100 AttitudeEngine ? I don't know any.

LazaroFilm commented 1 year ago

I'm confused. I thought AttitudeEngine was outputting a fused sensor quaternion from the QMI8658. Does it not do that?

My understanding was that it would output a similar result as the BNO0XX which would offload the fusing algo load from your MCU.

lyusupov commented 1 year ago

AttitudeEngine is a registered trademark of Fairchild Semiconductor International (acquired by ON Semiconductor Corporation in 2016).

https://www.onsemi.com/download/application-notes/pdf/an-5083.pdf

jake653 commented 7 months ago

The QMI8658C data sheet references Fusion and the XKF3 an external library for ARM processors (XKF3, developed in 2005 has been described to do auto calibration and plotting?) https://www.qstcorp.com/upload/pdf/202202/%EF%BC%88%E5%B7%B2%E4%BC%A0%EF%BC%89QMI8658C%20datasheet%20rev%200.9.pdf

the QMI8658A data sheet included in this archive doesn't reference fusion. I see some header files (waveshare "RP2040-Touch-LCD-1.28" and ESP32-S3 version have the best example source code I have found) that references fusion: extern void QMI8658_read_ae(float quat[4], float velocity[3]); // handler is defined in .C code unsigned char const attitudeEngineData; / brief Raw sample buffer. */

The Fairchild/On Semi XKF3 seem to have special licensing requirements, I'm hazy on what gets done internally and what is done by XKF3.

LazaroFilm commented 7 months ago

Yeah this has been frustrating. I even reached out to the manufacturer and have not received any answers.

lewisxhe commented 6 months ago

As for the posture engine, I contacted the chip manufacturer many times and made it clear that it cannot be used for open source and may involve patent issues. Question will be closed