-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange turn instructions? #723
Comments
Turn Slight Right I assume one of possible reasons may be that the reported light turn may be result of assigning the big portion of turning to arriving and departing roads, not to the crossing, especially if too small value of turnInstructionCatchingRange (default 40 m) is used, or if the crossing size overflows that value. This is a danger of small turnInstructionCatchingRange values. The opposite, big values, may cause confusion if there is tight sequence of turns, possibly evaluated as just a single, summary turn. So turn left+right can be eveluated as go straight ahead, or tight left+right+left could be seen just as left. So the optimal turnInstructionCatchingRange is a kind of trade off. Another factor is OSM mapping does not allow round road segment, which are emulating of series of short straight segments. If not all those segments are evaluates within turnInstructionCatchingRange, BRouter may evaluate the crossing turning angle smaller than it is. For the Keep Right, it would be OK if all the road segments had the same priority classifier. |
@devemux86 I could do a small research for this and I think at the moment both are 'errors' and should be reworked.
I can do more on this next week and will be back here. |
Well, it is not as easy as I thought on the first view.
The first point - turn slight right: I reactivated the
Here are some files for comparison that contain most of the changes: |
Hello!, Open : Is a change intended only for cars or also for bikers? |
The change goes for all profiles. Angles are collected in the range of 10m
I did an extra test, collected all comment lines and compared. They are equal to the current 1.7.7 version. Like: |
Thank for the explanations and tests!
If you can install the changes in the test-instance, it would be great
Regard
afischerdev ***@***.***> schrieb am Mi., 4. Sept. 2024, 14:11:
… Is a change intended only for cars or also for bikers?
(As explained above, for bike I prefered to keep "Turn slight right" in
image 1)
The change goes for all profiles. Angles are collected in the range of 10m
Will the change impact the turn costs?
I did an extra test, collected all comment lines and compared. They are
equal to the current 1.7.7 version. Like:
<!-- track-length = 59670 filtered ascend = 137 plain-ascend = -22
cost=61418 energy=.3kwh time=2h 57m 46s -->
The tests were carried out on around 60 different routes, which were
compiled here from the discussions.
—
Reply to this email directly, view it on GitHub
<#723 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL75PSEWG7JTFXJQ6G6OPEDZU32FXAVCNFSM6AAAAABMVGRPP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYHAYDMMJQGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@EssBee59 |
Hello! Sorry to answer very late, now I found time to start a small regression test: My test: a-The current routing (turn instructions are generated with Osmand type) b-test on the test-instance (using the same profile as above) (turn instructions are generated with Osmand type) My first remark:
To start further tests I prefered to get the same behaviour on test and production regards |
Closed with PR #726. Feel free to reopen when there are still issues. |
There is a report in Cruiser forum about wrong turn instructions by BRouter app with car profile:
Slight turn right instead of sharp turn right in image 1 with BRouter link.
Unnecessary (?) keep right in image 2 with BRouter link.
The text was updated successfully, but these errors were encountered: