Author Topic: Experimental Car profiles for Brouter offline routing  (Read 3207 times)

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Experimental Car profiles for Brouter offline routing
« on: November 04, 2015, 08:34:00 »
Here you may find my very experimental Brouter Eco / FastEco / Fast car profiles, They should be used only as a fall back if no online routing is available for whatever reasons. Note that as Graphhopper implementation approaches  mature state, it should be probably preferred for the car. Or the off-line car navigation of the OSMAnd .


GitHub Car Profiles wiki with direct llinks to profiles

Current Car Test Template profile- may be used directly as profile, but expect alfa/beta quality of develop,ment version

github wiki about my Brouter Profiles

Be prepared the routing can be locally incorrect, due missing Brouter features to address local context of turning restrictions or lane  choosing.  Brouter car routing should be taken rather as a navigation guide for larger then local scale.

final profiles have implemented avoiding motorways flag,
the template also has flags avoiding tolls/toll roads and unpaved roads

« Last Edit: November 11, 2015, 18:25:44 by poutnikl »
https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1877
  • Thanked: 10 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Experimental Car profiles for Brouter offline routing
« Reply #1 on: November 08, 2015, 16:48:45 »
Hi poutnikl,

I just tested your profiles, but they don´t work with latest BRouter version 1.3.2 as far as I can see.
Can you test it once please ?

Thank you in advance
Regards J.
 

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 384
  • Thanked: 17 times
    • View Profile
  • Device: MotoG
Re: Experimental Car profiles for Brouter offline routing
« Reply #2 on: November 08, 2015, 17:10:05 »
Ok for me.
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1877
  • Thanked: 10 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Experimental Car profiles for Brouter offline routing
« Reply #3 on: November 08, 2015, 17:20:46 »
I made a new installation as described here http://forum.locusmap.eu/index.php?topic=4064.msg39865#msg39865 (German)
Other profiles, downloaded from http://brouter.de/brouter/profiles2/ are working.
If I choose p. e. Car-test-Fast, BRouter app shows for a short moment ... "does not contain context for global (old version?)" or similar.
Regards J.
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3518
  • Thanked: 25 times
    • View Profile
    • Locus live tracking service
  • Device: SGS5m (4.4.2 root), SGTab10.1 (4.0.4)
Re: Experimental Car profiles for Brouter offline routing
« Reply #4 on: November 08, 2015, 19:50:11 »
tested only "Car-test-Fast.brf", but it works without problems.

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Experimental Car profiles for Brouter offline routing
« Reply #5 on: November 09, 2015, 06:44:35 »
Hm, it is interesting.. I admit I tested them previously only in Brouter-web. I usually load my profile to my Android device only the "release versions/candidates", and these are in development yet.  I have limited real testing opportunities, as I even do not have a car, as for a single person it seems to me as wasting of resources.

They definitely do contain global context.
Code: [Select]
---context:global
....
---context:way   # following code refers to way-tags
....

Now, I have tried both  https://raw.githubusercontent.com/poutnikl/Car-Profile/master/Car-test-Fast.brf  and also newer https://raw.githubusercontent.com/poutnikl/Car-Profile/master/Car-test-Template.brf 

and both do work in my instance of Brouter 1.3.2 in direct, GPX generating mode.

Is possible your download was corrupted or eventually the profile text was not copied properly ?

---------------------------------------------------------------------------
Eco/Ecofast/Fast profiles differ each other just in 1 flag number so they should work all or none.
BTW, I recommend rather Ecofast than Eco,  Eco is too much Eco, ignoring travel time. :-)

In the current template they are chosen by variable drivestyle (1=Short, 2=Eco, 3=EcoFast, 4=Fast).
Aside of avoiding motorways, flags for avoiding tolls/toll roads  and unpaved roads are implemented.

----------------------------------------------------------------------------------

As car route are usually longer than bicycle routes, you may notice time outs in Locus fo routes longer than 50-100 km, if navigation is configured to use Brouter. The reason is Brouter is computation intensive and Locus may not be patient enough.

There are 2 solutions>

- Generate GPX file and navigate along it.

- Generate GPX file, but then choose Server mode option, with assigning to Brouter navigation mode (Car fast/short).
It makes Brouter to use just analysed data for the same future destination+profile calculations, So if you use the same destination+profile later in Locus, it will be fast enough to fit the time out limits. The data are volatile, so one must not use other Brouter routing in between.




« Last Edit: November 09, 2015, 07:44:22 by poutnikl »
https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1877
  • Thanked: 10 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Experimental Car profiles for Brouter offline routing
« Reply #6 on: November 09, 2015, 08:14:12 »
Hi poutnikl,

is it possible to attach the newest profiles for testing in first post?
So I can make some new tests.
Regards J.
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Experimental Car profiles for Brouter offline routing
« Reply #7 on: November 09, 2015, 09:07:14 »
I preference rather  linking to the Github repositories/Wikis for development versions, but I can do so for convenience.  The direct links are the latest versions, but template improvements were not ported yet.

I am moving niw, so test for now just the template, it is identical with future profiles.They are just renamed and using particluar value of drivestyle variable.



Sent from Sony Xperia M Dual

https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1877
  • Thanked: 10 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Experimental Car profiles for Brouter offline routing
« Reply #8 on: November 09, 2015, 10:01:25 »
I don´t know why, but I have difficulties to load from github. Now I opened the link for the template.brf directly and copied the content into a new brf file and it works for me too.
Thank you for the hints.
Regards J.
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Experimental Car profiles for Brouter offline routing
« Reply #9 on: November 09, 2015, 10:02:38 »
i have updated the original post

Sent from Sony Xperia M Dual

https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Experimental Car profiles for Brouter offline routing
« Reply #10 on: November 09, 2015, 10:20:33 »
If not downloading from github by direct link, then the is need to press RAW button above the file text.

Then it displays the file content and the address us the direct link, so either can be used.

I don´t know why, but I have difficulties to load from github. Now I opened the link for the template.brf directly and copied the content into a new brf file and it works for me too.
Thank you for the hints.



Sent from Sony Xperia M Dual

https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1877
  • Thanked: 10 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Experimental Car profiles for Brouter offline routing
« Reply #11 on: November 09, 2015, 11:18:30 »
Thanks,

I tested a longer way ~600km with Car-Fast against Car-Eco. Car-Fast uses motorways (German Autobahn), Car-Eco mostly doesn´t use motorways.
But I´m not sure if this is realy "Eco". Maybe you can save a few kilometres, but on the other side you must drive through cities with lot of traffic signals and....
Regards J.
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Experimental Car profiles for Brouter offline routing
« Reply #12 on: November 09, 2015, 11:29:48 »
Try rather EcoFast then Eco. Eco is too focused to optimal fuel consuption at steady estimated speeds.

For now, all are very experimental, not all needed features are implemented., and some will be probably never implemented, due Brouter limitations. Remember these initial versions are simply focused rather on steady driving. Point-wise delays will be tweaked later.

But it will never be as good as online routers and they should take priority. E.g. for now, detection of crossroads is not possible directly and is very tricky. It is based on indirect detection by changing road class, traffic light presence and by geometrical turns, that can be penalized.

Eco just try to choose the route with minimal fuel consumption with estimated steady speed. but I see EcoFast as better.
EcoFast balance minimal fuel consumption and minimal time.

Start/stops effects are not implemented well yet, but coming.

All profiles are more useful for now in fully rural, or fully urban scenario. If mixed, they will have difficulties with optimal preferences.
« Last Edit: November 09, 2015, 12:57:28 by poutnikl »
https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Experimental Car profiles for Brouter offline routing
« Reply #13 on: November 09, 2015, 17:57:27 »
The Github versions updated - see the 1st threadd post.
« Last Edit: November 09, 2015, 18:02:56 by poutnikl »
https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)
 

Offline poutnikl

  • Padavan of Locus
  • ***
  • Posts: 362
  • Thanked: 22 times
    • View Profile
    • My Brouter Profiles
  • Device: Sony Xperia M DUAL / LocusMap Pro / A4.3
Re: Experimental Car profiles for Brouter offline routing
« Reply #14 on: November 11, 2015, 07:55:09 »
Profiles updated to version 1.0.3.  See the 1st post.
Penaltes for start/stop and slowing events were tweaked, but will  be subject of tuning for some time. Feedback is welcome.

While profiles provide different routes, even Eco now chooses motorways a lot - checked in long Germany routes.

Note that as Graphhopper implementation approaches  mature state, it should be probably preferred for the car. ( Or the off-line car navigation of the OSMAnd )
« Last Edit: November 11, 2015, 08:15:40 by poutnikl »
https://github.com/poutnikl/Brouter-profiles/wiki
Direct links to the profiles are removed.
When users dig them up from GitHub repositories, they will be hopefully wrapped in some GitHub wiki knowledge....  :-)