Skip to content
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

[Feature Request] Add support for UBX ESF-RESETALG #35

Closed
PaulZC opened this issue Sep 23, 2023 · 1 comment
Closed

[Feature Request] Add support for UBX ESF-RESETALG #35

PaulZC opened this issue Sep 23, 2023 · 1 comment
Assignees

Comments

@PaulZC
Copy link
Collaborator

PaulZC commented Sep 23, 2023

Based on:

sparkfun/SparkFun_u-blox_GNSS_Arduino_Library#203 (comment)

Tagging @cturvey , @Eric-FR

@PaulZC
Copy link
Collaborator Author

PaulZC commented Nov 24, 2023

I should have looked at this before now...

The library already has a function to reset the IMU mount alignment: resetIMUalignment

// Reset ESF automatic IMU-mount alignment
bool DevUBLOXGNSS::resetIMUalignment(uint16_t maxWait)
{
packetCfg.cls = UBX_CLASS_ESF;
packetCfg.id = UBX_ESF_RESETALG;
packetCfg.len = 0;
packetCfg.startingSpot = 0;
// This is a special case as we are only expecting an ACK but this is not a CFG message
return (sendCommand(&packetCfg, maxWait, true) == SFE_UBLOX_STATUS_DATA_SENT); // We are only expecting an ACK
}

I'm closing this as "Done"...

@PaulZC PaulZC closed this as completed Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant