Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DWM1001's LIS2DH12 IMU #13

Open
yakinikuman opened this issue Nov 20, 2020 · 1 comment
Open

Support for DWM1001's LIS2DH12 IMU #13

yakinikuman opened this issue Nov 20, 2020 · 1 comment

Comments

@yakinikuman
Copy link

yakinikuman commented Nov 20, 2020

I'm using the RTDOA example. Is there any way to enable support for the LIS2DH12 accelerometer? I see that in the syscfg.yml for the RTDOA example, there are parameters LSM6DSL_ONB, LIS2MDL_ONB, and LPS22HB_ONB, but unfortunately not for DWM1001's onboard LIS2DH12.

Looking through the code, I see that IMU data is periodically printed out. Is the IMU data used at all in the RTDOA solution, or is it just informational? If it isn't needed by the RTDOA algorithm, then I won't be concerned so much.

@seijikun
Copy link

seijikun commented Jul 6, 2021

I also needed access to the IMU. Luckily, Apache mynewt already has a working driver for the LIS2DH12 accelerometer, one just has to get it to load and power up.
See my PR for how to do this, and an example application making use of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants