Added listener for ping that emits pong when hit
Added listener for drone_update event
Deserializes drone telemetry and saves it to the database
Drops all telemetry data older than 5 mins
Note: the exact fields on drone_update may change later, but this is designed with the same specs as the 2023 go event
Resolves #6
Type of change
What types of changes does your code introduce to this project?
Put an x in the boxes that apply
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
[x] Tested ping event with pong response in postman
[x] Tested creating telemetry data entries with postman (including entries older than 5 minutes which are dropped)
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. This is simply a reminder of what we are going to look for before merging your code.
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
Added listener for ping that emits pong when hit Added listener for drone_update event
drone_update
may change later, but this is designed with the same specs as the 2023 go eventResolves #6
Type of change
What types of changes does your code introduce to this project? Put an
x
in the boxes that applyHow Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. This is simply a reminder of what we are going to look for before merging your code.