Comments (5)
This behavior is interesting. I think I can implement this in a future version.
from bve-autopilot.
Thank you so much!
Actually I feel this behavior is a bit like that on the airplane, which also disconnects when intervened and stays off until manually connected again.
As of more detail, the ATO start butons on trains equipped with TGMT features a green backlight, which indicates the status of the system:
- Illuminated: ATO is controlling the train.
- Flashing: ATO can be connected right now (Doors closed, reverser forward, mascon at neutral, AM mode is preselected, etc.)
- Dark: ATO is now disabled (the conditions are not satisfied)
By the way, I am actually able to implement these features by myself.
That is, I created a standalone plugin which simulates the behavior of TGMT. When this plugin is in ATO mode, it uses P/Invoke to call bve-autopilot, which is set to "depart" automatically once the doors are closed.
I just keep bve-autopilot running and doing all the calculations in background, and I use my plugin as a medium to apply the results only when the plugin is in ATO mode. And it works fine so far!
from bve-autopilot.
That is, I created a standalone plugin which simulates the behavior of TGMT. When this plugin is in ATO mode, it uses P/Invoke to call bve-autopilot, which is set to "depart" automatically once the doors are closed.
I just keep bve-autopilot running and doing all the calculations in background, and I use my plugin as a medium to apply the results only when the plugin is in ATO mode. And it works fine so far!
Wow! That's an amazing technique!!!
from bve-autopilot.
The implementation has been pushed to the master branch and will be included in the next release.
I don't intend to perfectly imitate the behavior of TGMT (I don't know its behavior very well after all) but I think the new behavior will be helpful to simulate something similar to it.
(Do you need instructions in English to configure the new behavior? Note that the default behavior has not been changed in any way, so you need to modify the config file for the new behavior.)
from bve-autopilot.
Thank you so much for your courtesy!
My development on TGMT is also abandoned, because I also don't know its behavior very well...
The driver's cab does not have any window here, so the only way I can know how it behaves is to seek help from an actual driver. There are documents leaked online, but these are not of great detail.
Some P/Invoke would be still required, as TGMT has all the complex things like mode switching etc. In that way I am afraid I won't be able to make use of the new features.
Thank you so much!
Your Japanese instructions on wiki is readable with the help of machine translation, so I think there is no need for English instruction.
from bve-autopilot.
Related Issues (20)
- より正確な目標時間調整
- 拡張ブレーキ指令の割合最大値が 1 未満の場合に不正動作することがある HOT 2
- TASC/ATOブレーキ段数桁表示について HOT 1
- ATO/TASC の切り替え方を柔軟にする HOT 1
- 力行の多段制御 (全速力でない力行) HOT 2
- 最大目標減速度の計算方法 HOT 1
- The limit speed cannot be read correctly in a D-ATC route HOT 3
- 急な上り勾配で低速で駅に近付くとき手前に止まってしまう HOT 4
- 自動発進が有効だと信号待ちでも転動防止ブレーキが効かない HOT 2
- 路線の途中で ATS↔ATC が切り替わるときの動作 HOT 1
- 下り勾配試験で停止位置直前に止まった状態から発進できない HOT 3
- 力行の急動作抑制 HOT 1
- ボタン操作応答遅延 HOT 1
- Feature request: Coasting HOT 2
- ノッチ戻し HOT 1
- ハンドル位置を取得したい HOT 7
- 範囲ベースの指令 HOT 1
- TASCのみ使用時のORPの挙動について HOT 1
- ATOはsnp形式のデータでは正常に動作しません HOT 2
- ATO/TASC使用時と手動時で異なるハンドル位置を出力したい HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bve-autopilot.