Commit graph

163 commits

Author SHA1 Message Date
Arndt Brenschede
1ea350cb04 MIT license 2019-05-04 20:04:56 +02:00
Arndt Brenschede
68b7ddff5c moved angle calc to util 2019-04-19 11:56:22 +02:00
Arndt Brenschede
9e64eb39c4 refactored waypoint-matching into map-access-layer 2019-04-17 18:00:38 +02:00
Arndt Brenschede
02b8202001 patch times and turns (volker) 2019-04-17 12:36:57 +02:00
Arndt Brenschede
19e434facb minor refactoring 2019-04-17 11:33:07 +02:00
Arndt Brenschede
137d87c085 added speed profile to json result 2019-01-26 19:50:04 +01:00
Arndt Brenschede
a9e8731b3e voice hints in json 2018-12-31 16:52:26 +01:00
Arndt Brenschede
a9684d58db endpoint catching range 5m -> 1,5m to avoid test regression 2018-12-16 13:34:09 +01:00
Arndt Brenschede
a81d1685db minor performance patch calcAngle 2018-12-16 13:33:14 +01:00
Arndt Brenschede
6bd435723f calcAngle back to clockwise positive + fine-tuning 2018-12-15 17:17:29 +01:00
Arndt Brenschede
20e1d5aabb fixed routing glitch at final segment 2018-12-14 00:56:29 +01:00
Phyks (Lucas Verney)
240be06018 Fix nogo weights with polylines 2018-12-13 15:00:33 +01:00
Arndt Brenschede
4816c7be15 tuned costfactor limit for walking mode fallback 2018-12-12 23:43:29 +01:00
Arndt Brenschede
46c114ba1e minor changes to route energy + trackname+param 2018-12-12 23:18:05 +01:00
abrensch
cab8ca3dc8
Merge pull request #127 from Phyks/travelTime
Few fixes to travel time computation
2018-12-12 22:22:33 +01:00
Phyks (Lucas Verney)
000f1dfc69 Add tests for RoutingContext.calcAngle 2018-12-11 11:59:59 +01:00
Phyks (Lucas Verney)
1a2a1164f9 Fix a small bug in lat computation in CheapRulerSingleton and update
according to latest master branch.
2018-12-11 11:20:10 +01:00
Phyks (Lucas Verney)
2591f22348 Make nogo weight proportional to nogo distance
Compute the nogo cost as proportional to the length of the segment
inside the nogo area.
2018-12-11 08:53:43 +01:00
Phyks (Lucas Verney)
3479fd7323 Keep a cost of -1 for nogos which should never been entered to prevent them from being fed in the priority queue 2018-12-11 08:53:43 +01:00
Phyks (Lucas Verney)
910d6a0870 Allow custom nogo weights
This should help taking into account road works for instance.
2018-12-11 08:53:42 +01:00
Phyks (Lucas Verney)
e0259e4cde Use center latitude for getLonLatToMeters calls 2018-12-07 14:25:19 +01:00
Phyks (Lucas Verney)
bd025875d4 Few fixes to travel time computation
* Takes `costfactor` into account for switching to walking mode.
* Better energy computation in hiking mode.
* Reword the `bikerMass` to make it clearer for different modes.
2018-12-07 10:49:08 +01:00
Phyks (Lucas Verney)
34f5258f5e Remove last use of rc.coslat 2018-12-07 09:15:03 +01:00
Phyks (Lucas Verney)
780e865870 Fix JavaDoc errors 2018-12-07 08:59:15 +01:00
Phyks (Lucas Verney)
d621964863 Radius are now stored in meters, to easily account for different
radiuses on X and Y axes.
2018-12-07 08:58:57 +01:00
Arndt Brenschede
ab2f5e3ae0 Better distance computation (revisited) 2018-12-07 00:45:12 +01:00
Phyks (Lucas Verney)
5a62480bd3 Remove some duplicate codes and magic numbers 2018-12-02 16:00:55 +01:00
Phyks (Lucas Verney)
c78b56645c Implement a cache for the cosine computation in CheapRuler. 2018-12-02 15:59:16 +01:00
Phyks (Lucas Verney)
665b7096e8 Add a basic implementation of CheapRuler and use it across code. 2018-12-02 15:59:16 +01:00
Arndt Brenschede
997beb0e96 bike ETA: more ele-filter, energy-correction 2018-11-25 20:15:09 +01:00
Arndt Brenschede
17be3653ae bike ETA: more ele-filter, energy-correction 2018-11-25 20:11:50 +01:00
Phyks (Lucas Verney)
b27e6262b5 Fix travel time computation 2018-11-23 10:03:05 +01:00
Arndt Brenschede
6e6c4a18b2 bike ETA fine-tuning 2018-11-23 00:44:24 +01:00
Phyks (Lucas Verney)
0cecf87102 Review
* Only call speed computation for the final segments.
* Replace the cubic equation solved by a Newton method.
* Handle bicycle=dismount.
2018-11-22 16:20:30 +01:00
Phyks (Lucas Verney)
e4d0b3adc5 Travel time computation for bikes and foot
Based on simple models for travel speed (Tobler's hiking function for
foot, constant power for bike).

Fixes #6.
2018-11-18 22:29:09 +01:00
Arndt Brenschede
5dcfa91ab9 performance fix 2018-09-14 13:45:38 +02:00
Arndt Brenschede
89b60cc54c performance fix 2018-09-13 13:08:32 +02:00
Arndt Brenschede
53a0aac21d locus ETA 2018-07-08 12:10:23 +02:00
Arndt Brenschede
ed0619d93a locus ETA 2018-07-08 12:08:38 +02:00
Arndt Brenschede
67df0743cd destination access logic 2018-05-31 23:08:24 +02:00
Arndt Brenschede
5a2ce9d3ce fixed bug for TR near start/end 2018-04-07 13:04:14 +02:00
Arndt Brenschede
9c5f2d113e 1.4.11 preps 2018-04-02 22:41:55 +02:00
Arndt Brenschede
599a24f710 automatically ignore islands 2018-04-02 19:19:52 +02:00
Arndt Brenschede
f2d04ef70a breaking speeds from cost model + cost tuning 2018-03-21 09:10:59 +01:00
Arndt Brenschede
fc1656dd7b energy along the track 2018-03-11 08:34:57 +01:00
Arndt Brenschede
22f27f89d4 extraParams in addition to routing-profile 2018-03-10 10:32:59 +01:00
Arndt Brenschede
e7c68abbd8 Merge branch 'master' of https://github.com/abrensch/brouter 2018-03-10 09:26:42 +01:00
Arndt Brenschede
0325c33cdf extraParams in addition to routing-profile 2018-03-10 09:25:46 +01:00
Arndt Brenschede
1de5532b74 version 1.4.10 2018-03-07 19:38:47 +01:00
Arndt Brenschede
b783b4568a motorcar TR exceptions 2018-03-07 19:35:23 +01:00