Simutrans pak128 (I can't remember the version of pak), 100.1 r2086 SDL
Normally, the bus must take the green shedule and it takes the red one.
The bus you see on the arrival has arrived by the red shedule but it's leaving.
There is one curve less, since it must not turn around. There is a penality in the pathfinder for turning around. Just like real life.
Usually a bus do not makes U-Turns at stops but tries to continue straight ahead.
It's what I told you. It's a problem because I lose money ! It's not really easy to make profit :'(
It is not a bug report, since this is the intended behaviour. You can make extension requests, but I do not considerer this a bug.
on the picture it looks as if the bus has already done a u-turn in the station (because he is on the right side, as if he came along the green marked path).
This is not intend if I understand your explantion right. At the moment it drives around the block first and than makes a u-turn in the station, instead of following the green-marked path an p**** the station straight.
BTW I've recognized similar behaviour in some of my savegames too.
If you want to force the green path: use a waypoint in between.
Jörg
All vehicles have to drive on the shorter path, so I consider it as a bug.
I haven't to do this normally.
Short is defined as the fastest way, i.e. the way with lees tiles a turns. The red way is two tiles longer but had one turn less. Thus, it is shorter to drive.
Am I silly? I count 2 turnes on each route.
@gauthier
could you please show/tell us where the next stop is? (in which direction)
=> whould the bus have to make a u-turn in the station if it drove along the green path?
as prissi has already pointed out, the u-turn in the station counts as a turn.
it is intended behaviour and therefore imho no bug
Hmm.. even if it is not a bug, feeling strange is understandable.
Simutrans 100.1, 2092, pak128
I have many tram linies in my city, which crossed. I have read the replies in above this topic and - if I understand -, the bus goes still in its straight direction (not to rotate 180° in stations) and it tries to make least turns. As you can see on the pictures, the tram line stops in all three stations. In my opinion it should go via green marked tramlines, but it goes via red. I tried to change the curves on my track, but it still goes via red.
I dont understand why it goes through red, when:
- it is more curved
- it must turn 180° in the station
(http://img407.imageshack.us/img407/1975/68539151wo9.th.png) (http://img407.imageshack.us/my.php?image=68539151wo9.png) (http://img296.imageshack.us/img296/7644/14701851vh3.th.png) (http://img296.imageshack.us/my.php?image=14701851vh3.png)(http://img296.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php) (http://img296.imageshack.us/img296/5304/22359604ad3.th.png) (http://img296.imageshack.us/my.php?image=22359604ad3.png)(http://img296.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)
the green line makes an S-turn. You can force the trams by using one-way signals (from the railway menu).
It's not normal, and as there are less or more turns, there are mor tiles by U-turn.
The next stop is on the North.
So the bus has to make a U-turn in the station currently.
That means that the current (red) route has the same number of curves (2) is longer than the green route PLUS forces a U-turn in station. This means it's not the best route, which means it's a bug IMHO.
(sorry if I sound rude that is not intended)
I checked the code and I had removed the U turn penalty long ago. So I was wrong.
But the code has also another problem, which is not really solveable. It has diffrent values for 45° and 90° curves. Since you are starting on a tile directly before a curve, it will result in a 45° curve and a 90° curve. The other will have two 90° curves. There is little that can be done about it, since the curvature of the last and the first tile cannot be calculated properly and must be guessed. (Since you need the previous and preprevious tile to check whether 45° or 90° bowing; but the preprevouis one is not available on the first tile.)
So in this situation you are stucked with waypoints.
In other words, one more tile and it would work?
That isn't too bad ;)
Any stop directly in front of a turn has this problem. But it shows seldomly, thus people do not notice it. This is the price to pay for A* routing with the current metric.
thanks for explaining :)