Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - 40°

#1
terenovo_art, if you need to highlight secondary paved or unpaved roads or paths, then you can try this theme for vector maps. It can be used as a layer on top of the map.

https://drive.google.com/file/d/19aSJcfRJjFSs1sRSGco0kR0gtaKG9P5n/view?usp=drivesdk


I often use it to find roads that are cleared of snow in winter, but where there are few cars. It's great to ride a bike on such roads. :-)
#2
Tasker / Re: Hardware controlling plus
February 24, 2025, 08:34:17
Added the ability to remotely execute "navigation" commands:
- "nearest point"
- "recalculation"
- "stop"

https://github.com/asamm/locus-api/wiki/Action-tasks-(Broadcasts)#navigation

#4
The planner.
Drawing mode: "Created manually".

When you manually enter a new auxiliary point, it is displayed at a random offset, and not in the place where the cursor is located. Sometimes this offset is too large, which leads to confusion.  The effect is purely visual, and if you press the zoom button, the dots will be displayed correctly. The effect occurs if there are many points, more than 50. I checked on two phones. Most likely, the further away from the center you click, the greater the random displacement of the point.

https://drive.google.com/file/d/1heU8Vn-2_BITaR2VOmdm-ft0BKc-4-za/view?usp=drivesdk

MapGooglePlayAfa_4.28.0.2 MyLibV2 RC25_1164_beta
#5
Other features / Re: My library (Data manager), V2
February 11, 2025, 05:04:35
MapGooglePlayAfa_4.28.0.2 MyLibV2 RC22_1164_beta
The locus fails if you select another vector map theme and close the sidebar with a swipe without waiting for it to load the theme itself.

Tested on Lenovo P2 Android 7
https://drive.google.com/file/d/1-jxzjb8lNbvWmRGlfY048AgC-EIdEg4Q/view?usp=drivesdk
https://drive.google.com/file/d/1oaYOlAxlfZdbuQINrHqmY8O_ipYhWUep/view?usp=drivesdk

and Samsung Android 10
https://drive.google.com/file/d/1Bm1lfzdZfA5ghvKRtZjKsHOxxUPi8wHW/view?usp=drivesdk
https://drive.google.com/file/d/1JGim-Ey_xkGu3FSulI9rSsR7lMAko0j6/view?usp=drivesdk


#6
Tasker / Re: Plugin variables not working - anyone?
January 20, 2025, 07:38:32
While the developer fixes the bug, I can offer you a temporary solution.
The recording status of a track can be detected by a tasker from the status bar.:
The owner application:Locus Map
Name:!* - * Text:~R\d+:\d\d:\d\d | .*m |\d+ Dots

Below is a working "Description To Clipboard". It's in Russian, but I'm quoting it unchanged so that the translator doesn't change the content. You'll have to adapt it for yourself.



    Профиль: State: Track Record StartStop.LM4
       Событие: Новое уведомление [ Приложение-владелец:Locus Map Название:!* - * Текст:~R\d+:\d\d:\d\d | .*m | \d+ Точки Subtext:* Messages:* Other Text:* Cat:* New Only:Выключить ]
   
   
   
    Начальная Задача: Без имени
   
    <Запись трека: 1-трек записывается.
    Покатушка (99 m | 1s)•0:00:00 | 0 m | 0 Точки
    Покатушка (99 m | 1s)•4:00:24 | 104 km | 14085 Точки>
    A1: Anchor
   
    A2: Добавить к перем. [
         Имя: %LocusRec
         Значение: 1
         Обнулить при: 2 ]
   
    A3: Если [ %LocusRec = 1 ]
   
        A4: Произнести [
             Текст: Запись трека включена.
             Синтезатор: Голос: default:default
             Поток: 3
             Тональность: 5
             Скорость: 5
             Respect Audio Focus: Включить ]
   
    A5: Else
   
        A6: Произнести [
             Текст: Запись трека остановлена.
             Синтезатор: Голос: default:default
             Поток: 3
             Тональность: 5
             Скорость: 5
             Respect Audio Focus: Включить ]
   
    A7: Конец Если
   
   
#7
Tasker / Re: nearest point
January 08, 2025, 07:27:14
https://github.com/asamm/locus-api/wiki/Action-tasks-(Broadcasts)#navigation

action: "nearest_point" - Find the nearest point along the active route and set it as the current navigation target.

8)
#8
Tasker / nearest point
January 02, 2025, 10:30:57
Is there a way to use tasker to execute the "nearest point" command while actively navigating a route?
Except for the direct tap method on the screen.
#9
Tasker / Re: Hardware controlling plus
December 18, 2024, 09:44:54
We need to try it.
You can control the locus with a single button on the headset.
The main thing is that the button is connected to the phone.
#10
Tasker / Hardware controlling plus
December 18, 2024, 07:19:52
What is the purpose of this project?
LM4 is able to control the phone without touching it. For example, zoom control, turning GPS on and off, and so on. The control is performed by remote control by pressing the buttons. But the set of these actions is limited.
This project provides additional opportunities to control the phone without touching it. The control is performed by remote control by pressing the buttons. The button can be pressed once or several times, released once or several times, and held down for a long time. The project also has a set of actions that are performed automatically depending on different conditions.

Note 1.
The most important thing!!!
There are functions in the project that duplicate the functions of LM4. But they work a little differently. Don't ask "Why?". Only because I don't quite like how it's done in LM4. For example, I like to get a hint about a turn 20 meters before it. It's just a whim of mine. Happiness is in the little things.

Note 2.
 The project uses some actions that require ROOT rights.

Note 3.
For remote control, I use this remote control: https://aliexpress.ru/item/1005001388320314.html . It works reliably. He is not afraid of frosts. It doesn't turn off for a long time. Supports commands: the button is pressed, the button is held down, the button is released. The battery lasts for a long time.

Note 4. It seems to me that this project will be quite difficult to transfer to another phone. Many profiles work with events from Logcat. Why am I publishing it? Perhaps this will be useful to someone, if not completely, then at least partially.

What can this project do??
The phone can be used in two modes:
1. The phone is positioned in such a way that you always see the screen. This is the "I See" mode. 
2. The phone is positioned in such a way that you CANNOT see the screen. This is the "I Hear"\"in my Pocket" mode.

яВижу   вКармане   Actions
#   #   Using the remote control buttons, you can:
+   -   Turn the screen on and off without locking it or disabling the phone's security system
+   +   Hear a hint about the direction of the next turn and the distance to that turn
+   +   Hear a hint about the current time, how long you are on the road, what distance you have traveled, what distance is left until the end of the route
+   +   Record audio POI when the screen is on
+   +   Record audio POI when the screen is off
+   -   Open the Text POI recording dialog
+   -   Switch the keyboard to voice-to-text mode if the POI recording dialog is open
+   -   Save a text POI
+   -   Cancel the creation of a text POI
+   +   Use the tasker scene for additional actions in LM4 "with one tap". I use: Set the "I See" mode, Set the "in Pocket" mode, Start track recording, End track recording, Restart online monitoring
#   #   Additional automatic actions:
+   -   Before turning, the screen turns on, the map is scaled so that the turning point is at the very top of the map screen (setting in meters)
+   -   After completing the rotation, the map is scaled so that the rotation point is at the very top of the map screen, after a pause, the screen turns off (setting in meters)
+   -   If the screen was turned on by the remote control button, the map is scaled so that the pivot point is at the very top of the map screen
+   +   Give a voice/sound signal "attention" near the turn (setting in meters)
+   +   Say the turn command near the turn (setting in meters)
+   +   After completing the turn, if the next turn is "far away", the distance to the point of the next turn and the direction of the turn will be pronounced.  If the next turn is close, only the turn command will be spoken. (value in meters)
-   +   "Voice events The screen is on and the screen is off (important for monitoring the screen status when the phone is not visible )
"
+   +   Notify if the LM4 service suddenly stops working
+   +   Notify if LM4 starts
+   +   An external program is launched that gives voice instructions on how to get to the point with the specified coordinates, regardless of the direction of your movement (Ay Ay program). The program starts if the coordinates of the point have been written to the clipboard
+   +   When the Bluetooth remote control is connected, the keyboard icon will be removed from the status bar
+   +   To hear a prompt if the Bluetooth remote suddenly turns off. An attempt will be made to reconnect
+   +   To announce the event "Start of track recording"\"Track recorded"

The project itself can be downloaded here:
https://drive.google.com/drive/folders/18ynCWTk9Ed6lQMyZONda306P2UzfUvlt
#11
Quote from: Leo Wood on November 13, 2024, 02:06:49,How could I add a navigation waypoint into the track with out the router planner?
Without a scheduler, the VIA point can be added to the file using a text editor, if you write the WPT tag correctly.  For example:
<wpt lat="53.325140" lon="28.6281250">
<name>my point</name>
<sym>z-ico02</sym>
<extensions>
<locus:rtePointAction>pass_place</locus:rtePointAction>
</extensions>
</wpt>
Please note that the coordinates of this VIA point must match one of the points on the track.

I think it's easier to put a simple dot near the track and turn on the alert.
#12
I want to write a theme for displaying roads of class "H".
For example:
Н9574 (https://www.openstreetmap.org/way/329708414)
Н9579 (https://www.openstreetmap.org/way/126577604)
...

The rule for displaying any "ref" key works:
<rule e="way" k="ref" v="*">
   <rule e="way" k="highway" v="tertiary|unclassified">
      <line stroke="#00d900" stroke-width="1.8" stroke-linecap="butt" />
   </rule>
</rule>

If I write <rule e="way" k="ref" v="H*">, then it won't work.

How do I write a rule for displaying roads where the value "ref" starts with the letter H?

#13
The problem is solely with the phone. The locus itself does not read satellite readings, it uses data provided to it by the phone's hardware.
#14
I have installed local surveillance on the second phone. The track is loaded when monitoring is enabled, but it is not updated. To see the new location and track, you need to turn monitoring off and on again.
Is this how it should work?

--- upd ---

Sorry.  Figured it out. To update, it was necessary to set the parameter 0 meters.

But immediately the following question arose. If you open the panel with the motion parameters, these parameters will not be updated, although the track itself will be updated.

Can this be fixed?
#15
Settings - Controls - Map screen - Simple multitouch... turned off?