Even though the AI train hasn't stop completely, the AI train is open the doors.
4 posters
Page 1 of 1
Even though the AI train hasn't stop completely, the AI train is open the doors.
When we are driving by A.I., the AI train is not stop completely, but AI train is opens the doors.
Please tell me how to the AI train after stops to the station completely, to open the doors.
This Question is by Crosshatch.
http://crosshatch.blog54.fc2.com/
http://http://crosshatch.blog54.fc2.com/http://crosshatch.blog54.fc2.com/http://crosshatch.blog54.fc2.com/http://crosshatch.blTranslate by Midnight Express Ginga81.
Thanks.
Please tell me how to the AI train after stops to the station completely, to open the doors.
This Question is by Crosshatch.
http://crosshatch.blog54.fc2.com/
http://http://crosshatch.blog54.fc2.com/http://crosshatch.blog54.fc2.com/http://crosshatch.blog54.fc2.com/http://crosshatch.blTranslate by Midnight Express Ginga81.
Thanks.
Midnight Express Ginga81- Posts : 130
Join date : 2016-09-25
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
For me it opens the door right after the train has stopped, but never tried opening the door before it's fully stopped. Could this be affected by the deceleration/brakeControlSpeed? (or delay)
Midnight Express Ginga81 likes this post
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
As far as I've noticed, AI opens doors at reaching <=0.5 km/h, but not 0.0 km/h. Well it could be really more realistic if this rate got reduced at least to <=0.1 km/h.
Midnight Express Ginga81 likes this post
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
Mr.CrossHatch says:
My understanding, the answer is it opens at less than 0.5 km/h, but the answer is that it will be more realistic if it is less than 0.1 km / h, but how should I adjust it?
I don't understand the specific method.
Please tell me.
My understanding, the answer is it opens at less than 0.5 km/h, but the answer is that it will be more realistic if it is less than 0.1 km / h, but how should I adjust it?
I don't understand the specific method.
Please tell me.
Midnight Express Ginga81- Posts : 130
Join date : 2016-09-25
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
Nah what I think he meant is it would be better if it is adjusted to less than 0.1km/h (By the OpenBVE developer, I don't think it's configurable)Midnight Express Ginga81 wrote:[size=40]Mr.CrossHatch says:[/size]
[size=40]
My understanding, the answer is it opens at less than 0.5 km/h, but the answer is that it will be more realistic if it is less than 0.1 km / h, but how should I adjust it?
I don't understand the specific method.
Please tell me.[/size]
Gothpaladinus and Midnight Express Ginga81 like this post
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
This is my opinion, a AI driving train cannot adjust that the open door's speed from 0.5km/h to 0.1km/h or under by a user manually, isn't it?
So, I think that if we want to change the AI driving train's door open speed, the OpenBVE program have to add to the something of the parameter.
So, I think that to change this, we have to wish change to Mr.leeser3.
So, I think that if we want to change the AI driving train's door open speed, the OpenBVE program have to add to the something of the parameter.
So, I think that to change this, we have to wish change to Mr.leeser3.
Midnight Express Ginga81- Posts : 130
Join date : 2016-09-25
LXQt likes this post
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
Being exact, the doors seem to trigger when the speed is under 0.25km/h:
https://github.com/leezer3/OpenBVE/blob/master/source/OpenBVE/Game/AI/AI.SimpleHuman.cs#L188
The AI has already triggered the EB to hold the train (couple of lines up)
What would be interesting is to find out why this figure was chosen in the first place.
There are a bunch of hardcoded figures like this in the code, and changing them can play havoc with the physics and simulation systems.
I'm *guessing* here, but I suspect that the boarding sway related physics interactions may move the train a little when they trigger, hence not opening the doors at absolute zero.
https://github.com/leezer3/OpenBVE/blob/master/source/OpenBVE/Game/AI/AI.SimpleHuman.cs#L188
The AI has already triggered the EB to hold the train (couple of lines up)
What would be interesting is to find out why this figure was chosen in the first place.
There are a bunch of hardcoded figures like this in the code, and changing them can play havoc with the physics and simulation systems.
I'm *guessing* here, but I suspect that the boarding sway related physics interactions may move the train a little when they trigger, hence not opening the doors at absolute zero.
Gothpaladinus and Midnight Express Ginga81 like this post
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
This build has a small, slightly related improvement, but doesn't change the figure in question:
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2020-11-22.zip
The AI driver now has a slight random delay from 0s - 5s before it attempts to open the doors on a train fitted with manual doors.
From a little mucking around, the 0.25km/h figure seems to be needed in some cases for stations on steep hills.
If the tran brakes take a little while to take affect, with this set to zero, the train can get in a perpetual rolling back loop.
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2020-11-22.zip
The AI driver now has a slight random delay from 0s - 5s before it attempts to open the doors on a train fitted with manual doors.
From a little mucking around, the 0.25km/h figure seems to be needed in some cases for stations on steep hills.
If the tran brakes take a little while to take affect, with this set to zero, the train can get in a perpetual rolling back loop.
Gothpaladinus and Midnight Express Ginga81 like this post
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
Thank you very much to change.
I introduce to him this post and wait to his answer.
I introduce to him this post and wait to his answer.
Midnight Express Ginga81- Posts : 130
Join date : 2016-09-25
Re: Even though the AI train hasn't stop completely, the AI train is open the doors.
Mr.CrossHatch said:
Thank you very much.
When I checked my original created route and train, the door started to open after the vehicle was almost stopped.
Players on my original route are often use AI driving because of the narrow stop adjust range when watching the another player's video, but I felt a bit strange of opening the door opened before stopping.
In this build, the door opens after stopping properly, so it behaves like a reality and I am very satisfied.
So, I think that this problem is solved.
Thank you very much too.
Thank you very much.
When I checked my original created route and train, the door started to open after the vehicle was almost stopped.
Players on my original route are often use AI driving because of the narrow stop adjust range when watching the another player's video, but I felt a bit strange of opening the door opened before stopping.
In this build, the door opens after stopping properly, so it behaves like a reality and I am very satisfied.
So, I think that this problem is solved.
Thank you very much too.
Midnight Express Ginga81- Posts : 130
Join date : 2016-09-25
fcancalon and Gothpaladinus like this post

» any way to only allow doors to open if its an accurate stop
» Doors open but not closed?
» Train Sliding Doors
» How to activate "Doors Opening" Signage when a train is approaching the station.
» Getting the stop point of a station for the ATS Plugin
» Doors open but not closed?
» Train Sliding Doors
» How to activate "Doors Opening" Signage when a train is approaching the station.
» Getting the stop point of a station for the ATS Plugin
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|