Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

NAV-PVT : Automotive dead reckoning related parameters, Speed acc estimate and heading acc estimation parametes parsed. #159

Merged
merged 4 commits into from
Dec 11, 2020

Conversation

balamuruganky
Copy link
Contributor

@nseidle, @PaulZC

NAV-PVT additional parameters parsed as listed below,

  1. Automotive dead reckoning related parameters (headVehValid, headVeh, magDec, magAcc)
  2. SpeedAccEst and HeadingAccEst estimation parametes parsed.

SpeedAccEst and HeadingAccEst Parameters are tested. Since, I don't have NEO-M8U or ZED-F9K, ADR related functionalies couldn't be tested. Please consider merging this PR, if ADR can be tested by some one else, those who have ADR GNSS.

Thanks.

Copy link
Collaborator

@PaulZC PaulZC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @balamuruganky ,
Looks good - thank you!
After one very small change, I'll happily merge this and test it. I now have NEO-M8U and ZED-F9R and can test it on those. (What I don't have is the time to test this properly in my car!)
Very best wishes,
Paul

@@ -1029,6 +1029,7 @@ void SFE_UBLOX_GPS::processUBXpacket(ubxPacket *msg)
gnssFixOk = extractByte(21 - startingSpot) & 0x1; //Get the 1st bit
diffSoln = extractByte(21 - startingSpot) >> 1 & 0x1; //Get the 2nd bit
carrierSolution = extractByte(21 - startingSpot) >> 6; //Get 6th&7th bits of this byte
headVehValid = extractByte(21 - startingSpot) >> 5 & 0x1; // Get the 5th bit
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this to:
headVehValid = (extractByte(21 - startingSpot) >> 5) & 0x1; // Get the 5th bit
just to make it clear that the shift happens before the AND

Copy link
Collaborator

@PaulZC PaulZC Dec 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, can you change line 1030 too please?
(I know the code works - these changes just help with the clarity)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I will update accordingly. Thanks.

Review comment incorporated.
@PaulZC
Copy link
Collaborator

PaulZC commented Dec 11, 2020

Cool - thank you @balamuruganky ! Merging...

@PaulZC PaulZC merged commit fd76204 into sparkfun:release_candidate Dec 11, 2020
@balamuruganky
Copy link
Contributor Author

Thank you!!! @PaulZC

@balamuruganky balamuruganky deleted the release_candidate branch December 19, 2020 13:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants