-
Notifications
You must be signed in to change notification settings - Fork 84
Conversation
Some things may be missing because I was in the middle of development when stay at home orders were issued. Will be hammered out as I work through it.
* Adds more fields to the imuData struct for Raw Data * Adds new struct for all sensor status information
* correctly checks for ublox return code when using sendCommand() * Irons out a few typos
Hi Eli,
to this:
Sorry about that. |
You are absolutely right @PaulZC, I rushed that one out and meant to put a sendCommand in the vehAtt function. I'll make those changes sometime tomorrow. Thanks for being so thorough. |
Hi Eli (@edspark), |
I believe this is ready - I merged the latest changes and it compiled successfully. I'm also seeing data coming back correctly. Let me know what else needs to get done @PaulZC, if anything! |
Hi Eli (@edspark), |
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.
Hi @edspark ,
I don't have hardware to run this on (yet) so I can only give it a visual review. I did notice:
getEsfIns
is missing a return(true);
. Likewise for getEsfDataInfo
and getEsfRawDataInfo
.
Can you please add the new functions and constants to keywords.txt?
Most of the Serial.print
's in your examples are missing the F()
which will increase memory use (without the F
they are allocated to RAM). This doesn't matter on the Artemis but is really important on the Uno.
Thanks!
Paul
Fixed print statements, added returns to function requested, and added functions and UBX message constants to keywords.txt. Thanks @PaulZC |
Good man! Merging... |
Do you want to delete the branch? (Or do you want me to?) |
This pull request adds the code necessary to use u-blox's dead reckoning modules: ZED-F9R and NEO-M8U.
What's Been Added
Dead Reckoning Modules have a dedicated UBX message class: UBX-ESF (External Sensor Fusion). I've added functions for each ESF message: Status, INS (dynamics), Meas, and Raw. I've also added four example sketches to accomplish using the Dead Reckoning Modules from calibration, to pulling IMU data directly, to querying internal and external sensors, and finally seeing the vehicle's "attitude" (pitch, roll, and heading).
Questions
Thanks @nseidle