Skip to content

Added initial gps logger functionalities #57

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

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

avfonseca
Copy link
Contributor

Initial ZED RTK logger functionalities in GPSLogger cpp

@brian-r-calder brian-r-calder marked this pull request as draft February 18, 2025 16:45
@brian-r-calder
Copy link
Collaborator

I'm converting this PR to a draft for now, because significant work remains before it can be safely merged to the primary branch (that's used in production). Continue to develop in this branch for now, and we'll merge when there's a little more stability in the pull.

@@ -204,6 +206,13 @@ void setup()

Serial.printf("DBG: After voltage monitoring start, free heap = %d B, delta = %d B\n", heap.CurrentSize(), heap.DeltaSinceLast());

Serial.println("Starting GPS logger ...");
GPSLogger = new gps::Logger(logManager);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We'll want this to be optional so that we don't have to turn it on if the hardware isn't there (or the user isn't interested). Similar code is used for IMU, etc.

bool Logger::begin(void)
{
// Configure I2C pins for GPS
Wire.begin(33, 36); // SDA, SCL
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since this is also used by the IMU, we'll have to check that re-initialising this isn't going to cause problems (or vice versa if the IMU is also enabled).

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

Successfully merging this pull request may close these issues.

2 participants