-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Telemetry/CurrentAttributes State from Core #89
Comments
#23 should help as we look toward implementing this. I think this will give us smoothed/cleaned estimates of position, speed, and course over ground. |
Discussed this with @ianthetechie this week. The idea is to create:
Step 2 can be done in a handful ways, e.g. handling basic types in rust, on platform code (swift, kotlin, etc), or even just by passing a json string for platform decoding. Since the data source is expected to be json (ish), where we draw that line depends. |
Discussed on call: Publishing it as JSON (as bytes/data) and then decoding in platform code. We can provide common models ex: for Valhalla, but this is really easy for anyone to extend using their own model and Codable/Moshi/kotlinx deserialization. |
In order to drive various UI features from the state, we need to provide a general purpose state object that can contain values like:
Option<SpeedLimit>
Option<Speed>
The text was updated successfully, but these errors were encountered: