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.


Messages - poutnikl

Pages: 1 [2] 3 4 ... 32
16
Versions / Re: [APP] - version 3.39.+ ( 25. 7. 2019 )
« on: September 07, 2019, 10:46:58 »
I have noticed in the latest beta that it escapes the route planner if I leave the application and then return back. I have to open the planner again.

This does not happen for the release version. I return back to the route planner there.

Sent from my Xiaomi MI A2 via Tapatalk


17
I have idea about high level parameters, influencing multiple low level parameters at once ( well, it is already partially done e.g with MTB_factor ), where their non default value would override eventual explicit settings by low level parameters.

These parameters could be exposed to Locus by already existing syntax

Code: [Select]
assign parameter default # %parameter% short desc | long desc
as is done at Locus internal profikes
( but must be hardcoded in Locus, it is not dynamic )

Sent from my Xiaomi MI A2 via Tapatalk

18
Largely improved beta version of Linux / Android termux script "sedbatch",

originated from the Windows batch,  for generation  of  ( not only ) my BRouter profiles.

It can e.g. generate directly on the phone release and development versions of my profiles, or  standard 2 variants of Jacob's streetbike profiles and 4 variants of zossebart's MTB profiles.

It can be done either from GitHub links,
either from your local git repositories.

Extensive comments are inside the script.

The stript cannot be used as us, as you have to configure for your environment, at least the folder constants.

Constructive feedback is welcome.



Sent from my Xiaomi MI A2 via Tapatalk
http://cloud.tapatalk.com/s/5d66d473a2e3a/sedbatch6.sh.zip

19
Themes - Vector maps / Re: desktop app
« on: August 28, 2019, 06:04:31 »
Has the developer spoken explicitly about the v4 data, or has he implied the older, but valid info about the v3 Locus edition (LE).

Sent from my Xiaomi MI A2 via Tapatalk


20
Themes - Vector maps / Re: desktop app
« on: August 28, 2019, 04:23:04 »
MF v3 maps have a special Locus edition,
but what about MF v4 maps and themes ?

Sent from my Xiaomi MI A2 via Tapatalk


21
Add-ons / Re: Locus Addon HeartRateAlert
« on: August 26, 2019, 09:59:21 »
Hello (zigzag)

is there any manual, how to start and stop your add-on, how to change between the profiles?
Best regards, Joska

Hello Joska,

in myexperience, there is no explicit start/stop for the addon. There much be established a connection to the HR monitor., in respective BlueTooth or ANT manager.

The realtime HR itself may be displayed by a suitable dashboard, and/or set to be initiated by a track recorder. In the latter, there is mentioned the avg and max HR withing the track statistics.

22
Add-ons / Re: Locus Addon HeartRateAlert
« on: August 26, 2019, 09:39:26 »
Hi,
I have made a very-very simple addon to tell on your heart rate zone changes.

https://play.google.com/store/apps/details?id=com.gilisztaturmixgmail.locus_addon_hr


Hi zigzag,

I have recently bought Xiaomi MI Band 4 and decided to try you addon.

It works as expected. I have even involved all 4 profiles. ( your values, original values from Band 4 ,  6 zone values from some training web with 2 different possible HRmax ).

There are various heart rate zoning generally, but many sources for common usage use five, round-percentage HR zones like your addon, with various zone name wording.

( Percentage of Max Heart Rate - HRmax )

50-60 Easy/Recovery
60-70 Fat burning  -long sustained effort
70-80 Aerobic
80-90 Anaerobic
90-100 Max HR rone/ VO2mx zone.

But I see one major difference.

Most of sources relate the zone percentage simply to HRmax, but your addon relate the percentage to interval HRrest-HRmax.  As my HRmin is about 32% of HRmax, it brings significant shifting toward HRmax.

Could you comment that ?

Experience notes:

I have realized I am in zones  usually 1--3 ( wrt HRmax, not wrt HRret-HRmax interval ) during fast walking, but at subjectively comparable exercise/breathing effort, I am in zones 3-5 ( 70-95%HR) during cycling.

I have to try going really slow and relaxed, subjectively feeling like very lazy cyclist, to be able to keep zone 3 and not going higher..

Perhaps my HRmax is higher then I suppose, I am 54 and my HRmax is supposed to be 166 ( 220-age ) or 170 ( 208-0.7.age ). I have used 170. Measure max rate by thge addon was 166 by I have invoved just 1 30s max effort during my 3.5hour bike trip. I have no trouble to sustain anaerobic zone 4 for 1-2 hours.

I was going to try High intensity interval training, recommended for faster fat burning ( 20 min warm up in zone 2, 4-6 cycles  ( 30s max effort + 4-5 min relax in zone 2 ).. I have realized zone 2 means very low effort cycling..

23
Similarly, I have a script in use for termux, that downloads and properly places RD5 files of BRouter and Mapsforge compatible MAP files for OpenAndroMaps or osm.paws.cz ( useful for central Europe, with frequent updates ).

The download is intelligent enough, skipping downloading if the local files are "new enough", with threshold set in the script.

https://github.com/poutnikl/Brouter-profiles/blob/master/getmap.sh

It is driven by a list of abbreviated parameters.

E.g.:
"./getmap.sh 0 1 cz"
downloads to the target folders
RD5 files for Czech Republic
and Czech Republic map from osm.paws.cz

For different locations, it may not be directly usable, until modified to download relevant files.

For this case, take it as inspiration and a template to modify.

Sent from my Xiaomi MI A2 via Tapatalk

24
I have recently written and tested the  Linux port of Windows batch sedbatch.bat, used for mass generation of my BRouter profiles from respective templates.

It creates very interesting possibility to create profiles directly on an Android device, using termux, a great Linux terminal emulator for Android.
( It e.g. allows you to install and use the git command, python, ipython and more.)

It works with all bike/foot/car repositories,
additionally to Windows version optionally with develop GitHub branch as well.

Link to the script on GitHub:

https://github.com/poutnikl/Brouter-profiles/blob/master/sedbatch

Below is copied the current legend comment from the script:

#!/bin/bash
#
#**********************
# Ver 1.1 Fixed generation for Hiking-wet profiles ( by error identical to dry ones )
# Ver 1.2 Parameter "main" generates only main/major profiles
# Ver 1.2.1 Fixed names of Trekking-Dry/Wet profiles ( Was Poutnik instead of Trekking ])
# Ver 1.3.1 Added Shortest-P profile
# Ver 1.3.2 windows batch ported to Linux Bash
# Ver 1.4 Improved script parameter logic. Action paramaters are bike/car/foot, modifiers are master/develop and all/main
#         Implemented termux path specifics and profike copying
#
# automatically generates a bunch of Brouter profiles
# based on the bike/car/foot profile templates by Poutnik
#
# When launched,
#   1/  it create a working subfolder in a folder where the script resides
#   2/  it downloads latest bike/car/foot profile template from GitHub depository
#   3/  it generates end user profiles by automatic subtitution of parameters
#   4/  it packs them into a single ZIP archive and deletes the working subfolder content.
#   5/  it optionally copies profiles to the scriot folder
#          or from termux private space to Android storage.
#
# ******************************************************
#                     P R E R E Q U I S I T I E S
# ******************************************************
# 0 This bash script can be run
#   either on a desktop Linux
#   either on Android within Linux terminal emulator termux.
#
# Points 1-5 applies only if to be run on an Android device
#
# 1 Install termux ( Linux terminal emulator for Android )
#   https://play.google.com/store/apps/details?id=com.termux
#   Read links below for more
#   https://termux.com
#   https://wiki.termux.com/wiki/Main_Page
#   https://wiki.termux.com/wiki/Community
#   https://github.com/termux
#
# 2 Run termux, what open Linux terminal emulator
# 3 Execute "termux-setup-storage"
#   if you want to grant termux permissions to write profile files out of its sandbox
#   to be able to copy profiles to Android storage.
#   It is recommendec not to copy directly to live profiles2 folder.
#   (run "apt update && apt upgrade" to make sure that this tool is available)
#   See  more at https://wiki.termux.com/wiki/Termux-setup-storage
# 4 Check if sed and wget commands are available.
#   If not, install them by "pkg install sed" resp. "pkg install wget"
# 5 Check and define withing the script code
#   your desired target folder for copying profiles.
#   
# 6 If run on Linux, or on termux without jailbreak
#   ( the script is testing both )
#   the optional (aside of zip with profiles)
#   is redirected to the folder the scriot resides.
#
# 7 Both Linux and termux expects placing the sedbatch script
#    (subject of later renaming, remsins for historical reasons )
#
# 8 
# The sedbatch.sh expects particular command line parameters to do anything.
# "sedbatch.sh" without parameters lists this legend.
# "sedbatch.sh" can be provided by arbitrary sequence of keywords:
# bike car foot main all master develop copy nocopy           
#
# bike, car, foot are "action" keywords, generating respective profiles from a profile template
# all(default), main are  modifiers, setting scope of generated profiles ( all or the most important)
# master(default), develop are modifiers determining the github repository branch, where the profile template is located
# nocopy(default), copy, copies profiles to Android storage ( jailbroken termux )
# or to the script folder.
#
# Examples of usage'
# "sedbatch.sh bike" generates all profiles from bike trekking template
# and stores them in BR-Bike-Profiles-master-all.zip
# and generates the all profiles for all car, bike and foot transportation modes
#
# "sedbatch.sh main develop bike" generates only selected major profiles from bike trekking template
# from develop branch
#
# "sedbatch.sh copy main foot all bike develop main car"
# generates  major profiles for hiking, all profiles for bike trekking
# and selected profiles from car template develop branch.
# Additionally, profiles are copied to selected folder
#

Sent from my Xiaomi MI A2 via Tapatalk


25
Troubles & Questions / Re: navigation hints "straight"
« on: August 16, 2019, 18:48:37 »
for now, you can use this set of profiles, (stored in the attached zip ),
generated from the current Github Development branch of my profile template,
where PriorityClassifier is reverted to the original.

Additionally, I have already written a Linux script, that can generate my profiles from github template
directly on the target Android device, using termux,  ,a great Android emulator of the Linux terminal.

It already works, tested on desktop Linux. there is remaining final termux testing of the final profile placement in BRouter profiles2 folder.

termux wiki
Termux on Google Play


26
Troubles & Questions / Re: navigation hints "straight"
« on: August 13, 2019, 08:13:43 »
For riding a bike across (not only ) cities, consider also the  Jacob's profile for streetbikes:

################################################################
#          A BRouter profile suited for a streetbike           #
#                                                              #
#          It was built to do light bike touring with          #
#          a non-suspension citybike with narrow tires         #
#          It prioritizes good ways, but allows some           #
#          more offroad ways to avoid traffic and to           #
#          follow nicer routes                                 #
################################################################


https://github.com/utack/utack_brouter_profile/blob/master/streetbike_touring.brf

that is more focused toward city specifics, while my profiles are more focused on out of city scenarios.

I was supporting Jacob's learning curve and he has put very thorough thoughts into his profile.

Sent from my Xiaomi MI A2 via Tapatalk

27
Troubles & Questions / Re: navigation hints "straight"
« on: August 12, 2019, 13:23:11 »
Note that I think BRouter internal logic should evaluate the 2 below straight ahead scenarios differently, but it is how it is now:

1/ leaving a "higher" way that is turning away
( giving a hint, as it does now )

2/ crossing  a "higher" way via "lower" way
( not giving a hint, what may be desired )

Sent from my Xiaomi MI A2 via Tapatalk


28
Troubles & Questions / Re: navigation hints "straight"
« on: August 12, 2019, 05:57:24 »
Note that even if the Shortest profile shares the same hint settings as the Trekking profile,
it is the default profile for pedestrians. For bicycles, the default profile is the Trekking one.

BRouter uses the profile parameter PriorityClassifier to determine, if a turning or straight ahead hint should be provided, or if it should remain silent.

The more significant ( logically, supposedly visually as well ) ways have higher value.

The straight ahead hint is provided, if some   of the other ways has the PriorityClassifier value HIGHER than the straight ahead way to be taken.

The turning hint is provided, if some   of the other ways have the SAME OR HIGHER PriorityClassifier value, compared to the turning way to be taken.

Below are listed differences in  PriorityClassifier between BRouter default profiles ( Shortest, Trekking) and my bicycle profiles.

My profiles use finer value granularity for some of lower than unclassified ways.

It brings both pros and cons for straight ahead hints.

Pros are you get the straight ahead hint to continue along a "lower way" if you are going along a "higher" but turning way, where you get no hint from BRouter default profiles.

E.g. you are going along turning residential, but you should continue on the straight ahead paved grade1 track.

Cons are you get the straight ahead hints when going along a lower way, repeatedly crossing higher ways.

E.g. you are going along a cycleway in parallel to a major road, crossing residential roads.

I offer several options:

1/Use for now built-in bicycle profiles like Trekking

2/Modify your copy of Trekking-LCR-Dry profile, replacing my PriorityClassifier by the original one.

3/ I am going to modify my profiles to avoid typical excessive scenarios, possibly even reverting to original
and/or create a switch flag between original and mine Priority Classifier.

Technical note: For suggestion, questions or complaints related to my bicycle profiles, it is preferred to ( additionally?) create a GitHub issue in my repositories

https://github.com/poutnikl/Brouter-profiles

for general profile topics

https://github.com/poutnikl/Trekking-poutnik

for my bicycle profikes behaviour or the code of my bicycle profile template.

-----------

 #Shortest

assign priorityclassifier =

  ....
  else if ( highway=residential|living_street ) then  6
  else if ( highway=service                   ) then  6
  else if ( highway=cycleway                  ) then  6
  else if ( bicycle=designated                ) then  6
  else if ( highway=track                     ) then if tracktype=grade1 then 6 else 4
  else if ( highway=bridleway|road|path|footway ) then  4
  else if ( highway=steps                     ) then  2
  else if ( highway=pedestrian                ) then  2
  else 0

#Trekking FCR Dry

assign priorityclassifier = (

  ...
  else if ( highway=residential|living_street ) then  16
  else if ( highway=service                   ) then  14
  else if ( tracktype=grade1                  ) then  6
  else if ( highway=cycleway                  ) then  6
  else if ( bicycle=designated                ) then  6
  else if ( highway=bridleway                 ) then  4
  else if ( highway=track|road|footway        ) then  4
  else if ( highway=steps|path|pedestrian     ) then  2
  else 0
 
                                                                                             

Odesláno z mého Mi A2 pomocí Tapatalk

29
Versions / Re: [APP] - version 3.38.+ ( 22. 5. 2019 )
« on: July 02, 2019, 17:33:10 »


Yes. But:
Sweden.osm.db + Sweden.osm.map --> POIDB NOT DISPLAYED

Perhaps the app is not looking for "the same filename but ext", but for hard coded lower case variant.

Odesláno z mého Mi A2 pomocí Tapatalk


30
Versions / Re: [APP] - version 3.38.+ ( 22. 5. 2019 )
« on: July 02, 2019, 15:30:39 »
Linux filesystem is case sensitive.

Odesláno z mého Mi A2 pomocí Tapatalk


Pages: 1 [2] 3 4 ... 32