Giter Site home page Giter Site logo

Comments (7)

magicant avatar magicant commented on July 18, 2024

フィードバックをゆっくり適用するようにすればうまくいくのでは? というアイディア

from bve-autopilot.

magicant avatar magicant commented on July 18, 2024

#33 をやったらやっぱり #3 はやらなくていいかも? 応荷重制御 (#22) との関係性はまだ調べていない。

from bve-autopilot.

magicant avatar magicant commented on July 18, 2024

https://github.com/magicant/bve-autopilot/compare/feature/friction_feedback に実装を置いてみた。

電気ブレーキなしで摩擦のみでブレーキをかけているときにだけ減速度を反映するようにしてある。(電気ブレーキ作動中は電流の強さから減速度を推定することは実用的でないと思われるのでやっていない)

ノッチを動かした直後はブレーキシリンダー圧力がブレーキ指令に追い付いていない可能性があるが、ブレーキシリンダー圧力と減速度はそれでも比例するので、予め推定しておいた最大ブレーキシリンダー圧力との比を見ることでフィードバックは可能である。

実際にやってみた結果としては、電気ブレーキを搭載しない摩擦ブレーキのみの車両ではうまく働くが、低速度まで電気ブレーキが作動する車両では停止直前の挙動がよくなったとも言い難い。

from bve-autopilot.

magicant avatar magicant commented on July 18, 2024

現状の目立つ問題としては、

  • ORP 作動時のように侵入速度が低い場合、止めるまでにブレーキを強くしたり弱くしたりを繰り返し勝ち
  • 停止目標位置に達する直前に急にブレーキを強くしがち

from bve-autopilot.

magicant avatar magicant commented on July 18, 2024

仮説: 弱いノッチのブレーキはより弱くする方向に丸めているので、ブレーキを強くするタイミングが遅れている?

// 中くらいの強さの制動に誘導するように丸める

from bve-autopilot.

magicant avatar magicant commented on July 18, 2024

仮説: 弱いノッチのブレーキはより弱くする方向に丸めているので、ブレーキを強くするタイミングが遅れている?

中くらいの強さの制動に誘導するように丸める代わりに常に std::round するようにしてみると、若干マシにはなる。

しかし、停止直前ギリギリまで電気ブレーキが作動する車両にはどのみち効果がないという問題は残っている。

from bve-autopilot.

magicant avatar magicant commented on July 18, 2024

推定した最大減速度をすぐに適用するのではなくて、ゆっくりめに変化させることで停止直前の挙動を安定化できそう

from bve-autopilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.