Comments (7)
フィードバックをゆっくり適用するようにすればうまくいくのでは? というアイディア
from bve-autopilot.
#33 をやったらやっぱり #3 はやらなくていいかも? 応荷重制御 (#22) との関係性はまだ調べていない。
from bve-autopilot.
https://github.com/magicant/bve-autopilot/compare/feature/friction_feedback に実装を置いてみた。
電気ブレーキなしで摩擦のみでブレーキをかけているときにだけ減速度を反映するようにしてある。(電気ブレーキ作動中は電流の強さから減速度を推定することは実用的でないと思われるのでやっていない)
ノッチを動かした直後はブレーキシリンダー圧力がブレーキ指令に追い付いていない可能性があるが、ブレーキシリンダー圧力と減速度はそれでも比例するので、予め推定しておいた最大ブレーキシリンダー圧力との比を見ることでフィードバックは可能である。
実際にやってみた結果としては、電気ブレーキを搭載しない摩擦ブレーキのみの車両ではうまく働くが、低速度まで電気ブレーキが作動する車両では停止直前の挙動がよくなったとも言い難い。
from bve-autopilot.
現状の目立つ問題としては、
- ORP 作動時のように侵入速度が低い場合、止めるまでにブレーキを強くしたり弱くしたりを繰り返し勝ち
- 停止目標位置に達する直前に急にブレーキを強くしがち
from bve-autopilot.
仮説: 弱いノッチのブレーキはより弱くする方向に丸めているので、ブレーキを強くするタイミングが遅れている?
bve-autopilot/bve-autopilot/減速パターン.cpp
Line 111 in 1c008c3
from bve-autopilot.
仮説: 弱いノッチのブレーキはより弱くする方向に丸めているので、ブレーキを強くするタイミングが遅れている?
中くらいの強さの制動に誘導するように丸める代わりに常に std::round
するようにしてみると、若干マシにはなる。
しかし、停止直前ギリギリまで電気ブレーキが作動する車両にはどのみち効果がないという問題は残っている。
from bve-autopilot.
推定した最大減速度をすぐに適用するのではなくて、ゆっくりめに変化させることで停止直前の挙動を安定化できそう
from bve-autopilot.
Related Issues (20)
- より正確な目標時間調整
- 拡張ブレーキ指令の割合最大値が 1 未満の場合に不正動作することがある HOT 2
- TASC/ATOブレーキ段数桁表示について HOT 1
- ブレーキ出力計算式の改良 HOT 2
- 力行の多段制御 (全速力でない力行) 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.