-
Notifications
You must be signed in to change notification settings - Fork 16.8k
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
Microstrain7 Initial Support #25579
Microstrain7 Initial Support #25579
Conversation
e0110b7
to
9e8ee61
Compare
Craig can't fly this for a while, so I propose a merge to |
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.
what happens if you select both Microstrain 5 AND 7 as build options?
do we need extract_features updates?
I assume the version is auto-detected because there is only one type for Microstrains
|
||
{ | ||
AP_ExternalAHRS::ins_data_message_t ins { | ||
accel: imu_data.accel, |
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.
Any idea why astyle is ruining the indent here? This is what astyle is automatically doing with the code.
Not sure. In SITL they are both active. For |
for every build option, the feature must be in extract features so as to list the feature or not |
Awesome Henry, thanks for the clarification. I'll add it in. |
e1a5abe
to
918ed97
Compare
It's already handled in ardupilot/Tools/scripts/build_options.py Lines 33 to 35 in ea23772
|
* Implement filter state without relying on GPS * Implement health and initialization check based on filter state * Fix pre-arm checks missing version * Add version specifics to microstrain 5 log msgs * Add utilities to microstrain packet to remove magic number array access Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
* The old descriptor is deprecated Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This had the 4.5 backport label but was not in the 4.5 backports project. We need to keep these two methods consistent. I think we should use the 4.5 project to indicate the PR should be backported.. not the label. |
OK, I see what's happened. The "For-4.5" label was added before we branched for 4.5. Adding this label is not necessary in this situation because everything that is included in master is included when we branch. |
Thanks for the details, sorry for the confusion. |
Purpose
This forms initial support for the MicroStrain 3DM-GQ7 EAHRS system. It's "working on the bench". I've updated this to also include the simulator.
What's different from MicroStrain5
Manual Testing
So far, bench testing the driver against hardware. There are a few more things I'd like to do (in follow up PR) prior to flight testing. It would be nice to get this minimum version in to avoid major merge conflicts.
Automated Testing
Autotest is included.
Set up
Use MicroStrain Sensor Connect and configure these data rates and channels manually:
Demo Logs with bench hardware