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

Get waypoint details near by my position #6

Open
homipc opened this issue Jun 3, 2019 · 4 comments
Open

Get waypoint details near by my position #6

homipc opened this issue Jun 3, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@homipc
Copy link

homipc commented Jun 3, 2019

From offered actions is more wanted "Start navigation to:" for me. But even more I'd like action: "warning on POI". I often use POI in different situations:

  1. NAVIGATION: I need only some navigation command (not all navigation), where is important change direction etc.
  2. BIKE AUDIO TRAINING: now Locus allows only time or distance warnings, but I need warning in the exact location. I set POI in this location and I obtain text to speach warning.
  3. GEOCACHING
    etc.
    Thanks for this the exact location.
    Homi
@Falcosc
Copy link
Owner

Falcosc commented Jun 3, 2019

Thank you for this idea. I would call it "get closest POI"

Navigation commands could be difficult because Locus API rely on requesting information, we have to check POI distance regularly.
I could implement a "search the closest POI filtered by something"
Then you could make the following POIs:

  • Attention: go left
  • Attention: get water
  • Attention: last restaurant on track
    And then we could filter these POIs by name "Attention"

Tasker would look like this
execute every 5 minutes:

  • Action: Get Closest POI. Filter "Attention: *"
  • If closest_poi != last_poi_notification AND poi_distance < 1000m
    • text to speech: poi_description
    • last_poi_notification = closest_poi (save last poi notification prevent double notification if you are in notification range)

But there is one small problem, if you travel 2000m in 5 minutes you may never get close to 1000m range:

  • 11:00 you are 1200m south away from POI
  • 11:02 you are 200m south away from POI
  • 11:05 you are 1300m north away from POI

If checks run at 11:00 and 11:05 you will never below 1000m and miss your tasker notification.

Would this help for your navigation and audio training?

@Falcosc Falcosc added the enhancement New feature or request label Jun 3, 2019
@Falcosc
Copy link
Owner

Falcosc commented Jun 15, 2019

@homipc would a solution based on "get POI near to current position" be good enough for you? Then I would like to implement something like this.

@Falcosc Falcosc changed the title More action Get waypoint details near by my position Jun 28, 2019
@Falcosc
Copy link
Owner

Falcosc commented Jun 28, 2019

I did start to create a feature which finds point near to current location.

It will have radius and name filter.
And to prevent duplicate notification it will have an option to exclude a list of point ids.

@Falcosc
Copy link
Owner

Falcosc commented Jun 30, 2019

For NAVIGATION you can set up how many notifications will get calculated on a track https://docs.locusmap.eu/doku.php?id=manual:user_guide:functions:navigation:settings#advanced_settings. If medium does create to many commands and low not enough, then you need to look at POI Alert

For BIKE AUDIO TRAINING You can use POI Alert for your points: https://docs.locusmap.eu/doku.php?id=manual:user_guide:functions:poi_alert

GEOCACHING you can use POI Alert or try increasing notification frequency https://docs.locusmap.eu/doku.php?id=manual:user_guide:functions:guidance#target_notifications

@homipc
Is there anything which could be improved there? It would be quite easy to get points near current location over api to do anything with them.

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

2 participants