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

Radio Location Estimates with hexes #426

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

michaeldjeffrey
Copy link
Contributor

@michaeldjeffrey michaeldjeffrey commented Oct 25, 2024

This is an extension of #419 that changes (lat,lon,radius) to a res12 hex and grid distance of allowed locations.

@michaeldjeffrey michaeldjeffrey force-pushed the mj/radio_location_esimates_with_hexes branch from f0e0592 to 96df87b Compare October 31, 2024 22:19
Copy link
Contributor

@jeffgrunewald jeffgrunewald left a comment

Choose a reason for hiding this comment

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

Per my comment on the the correlation event message, I guess the radio_location_estimate_v1 message type is doing exactly what I was asking for, so I guess my real question is really "do the list of correlation events attached to an estimate really provide any value?" such that they belong in this public data structure. They have no meaning to anyone outside of the private backend that processed the location estimate so they just seem like noise here.

@macpie macpie self-requested a review November 4, 2024 18:33
@michaeldjeffrey michaeldjeffrey force-pushed the mj/radio_location_esimates_with_hexes branch from 96df87b to 2310830 Compare November 4, 2024 20:02
macpie and others added 13 commits November 19, 2024 14:42
we use hexes in many places in the system, let's conform to that here as well
Enumerating all the possible valid hexes for a location estimate can
create extremely large messages for estimates with large radius.

Sending the center hex and grid distance does a few things.
- Compacts the message
- speaks in terms of hexes like most other things in the system
- Provides an easy way to check locations using h3.grid_distance(center, target) <= grid_distance
At this time, the most imformation we can expose about the events that
led to the radio location estimate is an id and timestamp. There may be
more information in the future, but this is enough information for
someone to give us and we can fetch the underlying record for investigation.
This are stored in a table that can be fetched by the entity_id
@michaeldjeffrey michaeldjeffrey force-pushed the mj/radio_location_esimates_with_hexes branch from 2f2188a to acc47b1 Compare November 19, 2024 21:42
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.

4 participants