-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Adis16477 driver standardization work #11629
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mcsauder
force-pushed
the
adis16477_work
branch
from
March 12, 2019 21:35
5bfa19c
to
43ca3b0
Compare
mcsauder
commented
Mar 12, 2019
@@ -71,17 +81,11 @@ static constexpr uint16_t PROD_ID_ADIS16477 = 0x405D; /* ADIS16477 Identificatio | |||
|
|||
static constexpr int T_STALL = 16; | |||
|
|||
#define GYROINITIALSENSITIVITY 250 | |||
#define ACCELINITIALSENSITIVITY (1.0f / 1200.0f) | |||
#define ACCELDYNAMICRANGE 18.0f |
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.
These values are unused at present. The modified values in this PR are taken from the datasheet. The difference in values has no functional impact, and the datasheet values are being put in place here to prevent any future issues.
mcsauder
force-pushed
the
adis16477_work
branch
6 times, most recently
from
March 18, 2019 18:12
3b9302e
to
9b7dbec
Compare
mcsauder
force-pushed
the
adis16477_work
branch
6 times, most recently
from
April 4, 2019 16:02
1c96230
to
09c76dc
Compare
mcsauder
force-pushed
the
adis16477_work
branch
3 times, most recently
from
April 11, 2019 16:34
eefbe9d
to
b5b1934
Compare
Closed
mcsauder
force-pushed
the
adis16477_work
branch
from
April 15, 2019 03:46
b5b1934
to
b208852
Compare
mcsauder
force-pushed
the
adis16477_work
branch
5 times, most recently
from
April 22, 2019 04:11
9abb058
to
0ac777d
Compare
mcsauder
force-pushed
the
adis16477_work
branch
2 times, most recently
from
April 24, 2019 16:20
44c6fc1
to
9fba5ff
Compare
mcsauder
force-pushed
the
adis16477_work
branch
from
April 30, 2019 15:46
9fba5ff
to
f943889
Compare
mcsauder
force-pushed
the
adis16477_work
branch
2 times, most recently
from
May 24, 2019 16:54
fcb01c9
to
e7cec58
Compare
mcsauder
force-pushed
the
adis16477_work
branch
2 times, most recently
from
May 31, 2019 21:41
f905155
to
ca0dea7
Compare
mcsauder
force-pushed
the
adis16477_work
branch
2 times, most recently
from
June 5, 2019 15:47
f2a3ab7
to
3c3dead
Compare
…y and alphabetize #includes. Group/alphabetize some methods and vars, in ADIS16477.hpp, move var initialization to declarations, and format whitespace.
Closing in favor of #12140. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe problem solved by the proposed pull request
The ADIS16477 driver lacks standardization with the other Analog Devices IMU drivers.
This PR, (and future subsequent PR's), begins aligning the AD imu drivers so that more general imu driver work can proceed in the future.
Describe your preferred solution
This PR and a series of subsequent PR will align the ADIS16477 class with the ADIS16448 and ADIS16497 classes. To align all classes, a lot of copy/paste and formatting is going to take place, please be patient with this process as it will take a number of PRs to keep the review work managable.
Describe possible alternatives
Maintaining the status quo in the IMU drivers is always an option, (albeit a painful one).
Test data / coverage
NOTE: This PR requires hardware validation. (I do not have access to hardware to test this PR against.)
Additional context
See related work in PR #11224.
Please let me know if you have questions on this PR.
-Mark
@dagar