Commit graph

1136 commits

Author SHA1 Message Date
afischerdev
ca5279d7c7
Merge pull request #506 from quaelnix/eta-regression-fix
Fix regression in travel time computation
2023-02-13 18:47:14 +01:00
afischerdev
101c72b6dc
Merge pull request #503 from quaelnix/priorityclassifier-initialization-fix
Fix priorityclassifier initialization
2023-02-13 18:42:52 +01:00
quaelnix
480977ec46
Fix regression in travel time computation
abrensch@17be365 introduced a bug that causes a negative bias in the calculated incline each time the elevation buffer is reset, which results in an additional misestimation of the travel time when via points are added.
2023-02-08 22:01:09 +01:00
quaelnix
829baba037 Allow hill cost and hill cutoff in way context
This removes the limitation that `downhillcutoff` and `uphillcutoff` as well as `downhillcost` and `uphillcost` cannot be used in the way context.
2023-01-29 17:00:54 +01:00
quaelnix
f46c94083e
Fix priorityclassifier initialization 2023-01-28 10:34:01 +01:00
quaelnix
c3508c2adc
Fix regression in elevation filter logic
25e506d changed the order in which the elevation deltas are passed through the elevation filter, which can lead to the undesirable behavior that appending segments to the end of a route can decrease the calculated total ascent. This fixes the bug by adjusting the elevation filter accordingly.
2023-01-24 23:38:11 +01:00
quaelnix
4495952625 Fix rounding error in calcDistance 2023-01-20 10:22:01 +01:00
afischerdev
2387513a1f
Merge pull request #498 from afischerdev/update-version
Update lib part four - recalculation at end of track
2023-01-20 10:04:04 +01:00
afischerdev
23d55aa40c customize tests 2023-01-16 11:24:21 +01:00
afischerdev
3d34340e14 recalc elevation at end 2023-01-16 11:18:12 +01:00
afischerdev
32b258c188 recalc track rules, reorg detours 2023-01-16 10:37:19 +01:00
afischerdev
25e506dcbe recalc track at end 2023-01-15 18:05:18 +01:00
afischerdev
4867368296 move process voice hint, speed profile to the end 2023-01-15 17:43:51 +01:00
afischerdev
2b9a9d5bdd
Merge pull request #494 from afischerdev/update-version
Update lib part three - ignore misplaced via points
2023-01-15 16:44:56 +01:00
afischerdev
d081e5eb18
Merge pull request #495 from quaelnix/compute-kinematic-regression-fix
Fix regression of travel time calculation
2023-01-11 17:05:56 +01:00
quaelnix
a49c43d1ef
Refactor computeKinematic 2023-01-10 15:34:37 +01:00
quaelnix
1e819cf5bd
Fix regression of travel time calculation
This fixes a regression in the travel time calculation in the kinematic model caused by combining the following two commits:
* bd025875d4 (diff-59799a4a78f59692f35951f94cd8733f7e34718c2d60a6248685159f637517a4)
* 57da34d205 (diff-59799a4a78f59692f35951f94cd8733f7e34718c2d60a6248685159f637517a4)
2023-01-10 15:32:17 +01:00
afischerdev
b75a6cdab1 test add for misplaced pts 2023-01-09 19:00:02 +01:00
afischerdev
c03f21b72f test adjust 2023-01-09 18:35:35 +01:00
afischerdev
b98a576fe3 add routines for misplaced pts 2023-01-09 18:25:16 +01:00
afischerdev
d2297c0c52 add vars for misplaced pts 2023-01-09 18:13:03 +01:00
afischerdev
06328dec3d
Merge pull request #488 from afischerdev/update-version
I haven't heard of @zod for a while, so I do it my self.
Update lib part two - direct routing
2023-01-08 15:53:48 +01:00
afischerdev
d39501bb04 add 3 direct routing samples 2022-12-05 11:53:23 +01:00
afischerdev
d67b3c0ec9 change use of direct routing 2022-12-05 11:50:52 +01:00
afischerdev
3e53659f18 add voicehint test 2022-11-24 20:13:36 +01:00
afischerdev
8fa27bcf6e remove compiler warnings 2022-11-23 16:28:43 +01:00
afischerdev
a764c788ba
Merge pull request #483 from zod/code-analysis
Static code analysis using PMD

I haven't tested that results. For me the diffs looking well and useful.
The future will show if we need all this rules, drop some or add more.
2022-11-23 11:20:54 +01:00
Manuel Fuhr
49295eb850 Enable PMD rule LogicInversion and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
41d25cd523 Enable PMD rule SimplifyBooleanReturns and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
5f942cc458 Enable PMD rule UnnecessaryModifier and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
b68f1587b2 Enable PMD rule UnnecessaryFullyQualifiedName and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
b1a88b01ab Enable PMD rule SimplifiableTestAssertion and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
09a9c1a104 Enable PMD rule SimplifiedTernary and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
a07fc132d2 Enable PMD rule SingularField and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
3b77f93c00 Enable PMD rule UnnecessaryReturn and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
1bff48b649 Enable PMD rule AvoidInstanceofChecksInCatchClause and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
30be64cbbe Enable PMD rule LooseCoupling and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
c75a8cb703 Enable PMD rule UnnecessaryImport and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
9d0703f898 Add PMD and enable quickstart ruleset
PMD allows checking code for violation and quickstart provides a ruleset
which are "rules that are most likely to apply everywhere". Violated
rules are disabled to get started.
2022-11-14 22:03:47 +01:00
Manuel Fuhr
91459dbeb3 Fix codestyle violations from #481 2022-11-14 22:00:41 +01:00
zod
fce160e89d
Merge pull request #481 from afischerdev/update-test
Add test profiles with lookups.dat
2022-11-14 21:48:23 +01:00
zod
0566f8154c
Merge pull request #478 from afischerdev/update-version
Extend android service interface and http API
2022-11-14 21:47:58 +01:00
afischerdev
cebcd566c6 reformat RouteServer again 2022-11-13 16:27:37 +01:00
afischerdev
5c970ed71f reformat RouteServer 2022-11-13 16:14:56 +01:00
afischerdev
f6afafb46c reformat BRouterWorker 2022-11-13 16:08:16 +01:00
afischerdev
f6d4eee763 update description for direction 2022-11-13 15:55:38 +01:00
afischerdev
78cd395ca1
Merge pull request #474 from zod/test-routeserver
Tests for RouteServer
2022-11-10 13:07:10 +01:00
afischerdev
31e10c5475
Merge pull request #482 from zod/checkstyle-android
Enable checkstyle for brouter-routing-app
2022-11-10 10:56:35 +01:00
afischerdev
70be61a81e made it pretty 2022-11-10 10:53:53 +01:00
Manuel Fuhr
556555b8ae Test profile upload 2022-11-09 18:35:49 +01:00