Skip to content
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

Customizable default lane arrows and/or AI vehicles issue #1763

Open
Eduardo12X opened this issue Feb 13, 2024 · 3 comments
Open

Customizable default lane arrows and/or AI vehicles issue #1763

Eduardo12X opened this issue Feb 13, 2024 · 3 comments
Labels
feature A new distinct feature triage Awaiting issue categorisation

Comments

@Eduardo12X
Copy link

Eduardo12X commented Feb 13, 2024

For better understanding, I'll give an example that's the problem I'm having, by default, the second lane arrow (or the middle lane arrow) from six lane roads is set to the vehicles go to the front when there are 3 others 6 lane roads connected (you can check the screenshot if it's confusing), but the problem of this default lane arrows configuration is most of the vehicles will focus to go to the right or left of the road with it, consequently, the traffic can accumulate easily and will do the middle of the road most of the time useless ("because will be just decorative", what's bad to decrease the traffic)
That's why it's a nice idea to make the default configuration of the lane arrows customizable because when you expand the city, the amount of the four roads connection with six lanes are (or will be) too big to change manually. Also, is interesting improve the vehicles AI (if it's the mod case and if is the right place to report this), since can happen even though I set the modified lane arrows below, the vehicles can still insist to go to the right or left instead in the middle of the road at least 33-50% of the times depending on what direction them want to go (Notes section can explain it in the clear way)

Screenshots:

Defaulf configuration in this case

Screenshot 2024-02-12 011326

Modified Lane Arrows

Screenshot 2024-02-12 011451

Notes or questions:

The modified lane arrows screenshot is the configuration I wanted to every case of those connections with four roads with six lanes be like that way. About the possible vehicles AI issue, by default, the vehicles can just ignore the middle's road exists, so the idea I have is given a 33-50% chance of the vehicle go to the middle road, since it's 33-34% if the vehicle just can go to the left, right and middle in case to have 3 paths, or 50% in case of the vehicle can just go to the left or right, and middle, I mean, 2 paths

@Eduardo12X Eduardo12X added feature A new distinct feature triage Awaiting issue categorisation labels Feb 13, 2024
@kvakvs
Copy link
Collaborator

kvakvs commented Feb 13, 2024

We already have dynamic (random) lane change option and it will help you mix the vehicles and lanes better, if you set it to 50-75%.

@krzychu124
Copy link
Member

Exactly, dynamic selection slider tells the system (more or less) what percentage of vehicles should try to check if there is better lane and depends on vehicle speed (slower = more checks) vehicle may even check it every node. If internally calculated traffic flow of lane is not much better than the one which is original path lane vehicle won't switch lane, similarly when much better lane is too far (would require multiple changes) vehicle won't try to switch.

Moreover it also applies to vehicles following much slower vehicle - that situation may turn into fake overtaking behavior when speed difference is big enough (e.g.: vehicle behind could move 20% faster after switching lane, still following speed limit on the road)

@Eduardo12X
Copy link
Author

Well, I tested the feature you said, looks like really efficient, so don't consider the AI vehicle feedback I did anymore, and just consider the customization of the default lane arrows, ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new distinct feature triage Awaiting issue categorisation
Projects
None yet
Development

No branches or pull requests

3 participants