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

Integrate GPS into Navigation module #43

Open
3 of 4 tasks
Iyury1 opened this issue Feb 8, 2022 · 1 comment
Open
3 of 4 tasks

Integrate GPS into Navigation module #43

Iyury1 opened this issue Feb 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Iyury1
Copy link
Contributor

Iyury1 commented Feb 8, 2022

Summary

The Navigation module currently reads from the acceleration from the BNO055 and uses that information along with an initial starting point to predict the motion of the pod using kinematic equations.
The accuracy of motion prediction can be vastly improved by combining a position measurement from the GPS module. To do so, we will implement a sensor fusion technique to combine the GPS measurement with kinematic equation predictions.
As a first step, we can use the Linear Kalman Filter algorithm to achieve sensor fusion.

Acceptance Criteria

  • Write geodesic coordinate transformation in CPP for Teensy Nav module
  • Write linear kalman filter equations in CPP for Teensy Nav module
  • Write tests for coordinate transformation and kalman equations
  • Complete test plan and documentation
@mbardwell mbardwell added the enhancement New feature or request label Feb 8, 2022
@Iyury1
Copy link
Contributor Author

Iyury1 commented Jun 21, 2022

Estimator class is completed: https://github.com/albertaloop/T_SWE_2019_2020/tree/Ian-Navigation/Firmware/Navigation_Module_Teensy3.6

Some tests for estimator class: https://github.com/albertaloop/T_SWE_2019_2020/tree/Ian-Navigation/Firmware/Navigation_Module_Teensy3.6/navmod_tests

While testing GPS integration, unable to get a proper readout from the GPS sensor while running a timer interrupts for estimator. I think the issue is that the Serial class empties it's output buffer whenever an interrupt occurs. We should consider looking for a different sensor that doesn't rely on Serial. I will add some test results showing this problem soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants