-
Notifications
You must be signed in to change notification settings - Fork 0
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
Switch lsm6dso to STM driver, test on MSB #191 #14
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two things:
- Use the IFDEF convention with
SENSOR_IMU
so it builds with SENSOR_IMU disabled and enabled (seemsb_conf.h
. - Are we still using
accel_read
andgyro_read
? If not lets yeet them. And no matter what I prefer not to call the driver directly frommonitor.c
, so can you add a very simple wrapper call (likeimu_data_get(...)
inmsb.c
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few more things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Changes
Set parameters to read/write IMU data. Works in conjunction with pull request in Embedded Base where new lsm6dso driver is installed.
Notes
The code style checks that fail are from functions that I copied from the old code under discretion of Jack. The build fails because it requires the PR from Embedded Base
Closes #191