Giter Site home page Giter Site logo

Comments (7)

ktr8703 avatar ktr8703 commented on July 19, 2024 1

お知らせいただきありがとうございます。
ダウンロードして確認いたしました。
Panelにより、後に読み込んだプラグインでハンドル位置を取得することができました。
思っていたとおりの機能です。

この度は親切にご対応いただき、ありがとうございました。
今後ともよろしくお願いいたします。

from bve-autopilot.

magicant avatar magicant commented on July 19, 2024

拙作のプラグインを楽しんでくださっているようでありがとうございます。

やりたいこと次第では既存の機能で達成可能かと思います。

  • 手動のハンドル操作と ATO/TASC による自動操作を合わせた、実際に効いている力行・ブレーキの強さをパネルに出したい場合
    • ここに説明があるように autopilot.ini で power, brake を設定し、パネル設定ファイルで対応するインデックスを設定 (subjectKey = atsXX) すれば出力されます。
  • ATO/TASC による自動操作に関係なく、手動のハンドル操作の状態のみをパネルに出したい場合
    • BVE 本体に元から備わっているパネル設定で可能です。パネル設定ファイルで直接 subjectKey = power, subjectKey = brake を設定すれば出力されます。
  • ↑この手動のハンドル操作の状態を直接パネルに出すのではなくて、bve-autopilot と同時利用している別のプラグインに情報を送りたい場合
    • これがやりたい場合は、確かに現状では不可能と思いますので、実装を検討いたします。(が、これはやや特殊なユースケースかと思います。プラグインを動作させる順番を変えることで回避できる可能性もあります。)
  • 手動のハンドル操作に関係なく、ATO/TASC による自動操作の力行・ブレーキの状態のみをパネルに出したい場合
    • これも現状では不可能ですので、これがやりたい場合は検討いたします。(が、文面を読む限りやりたいことはこれではありませんね?)
  • その他、上記以外にやりたいことがある場合、恐れ入りますがもう少し内容を説明いただければと思います。

from bve-autopilot.

ktr8703 avatar ktr8703 commented on July 19, 2024

早速ご返信くださり、ありがとうございます。

私がしようとしていることは、

  • ↑この手動のハンドル操作の状態を直接パネルに出すのではなくて、bve-autopilot と同時利用している別のプラグインに情報を送りたい場合

に該当します。
TASCによる転動防止ブレーキを自前で実装しようと考えているほか、TASCのMonitor表示灯(TASCパターン表示灯)に介入して一定の条件で消灯させようと考えており、bve-autopilot の後に私が制作しているプラグインを読み込む必要がある一方で、計器画面に表示するブレーキ・力行ノッチ表示は計器画面のカクつきを再現するためpanel出力をしようと考えており、私のプラグインでマスコン位置を取得する必要もあるのです。

bve-autopilot を2つのプラグインで挟めば解決することができますが、可能ならば1つのプラグインにしたい思いがあり、この度のお願いをいたしました。ご検討くださいますと、大変ありがたく存じます。

この度は丁重にご対応くださりありがとうございます。
よろしくお願いいたします。

from bve-autopilot.

magicant avatar magicant commented on July 19, 2024

説明ありがとうございます。理解しました。

from bve-autopilot.

magicant avatar magicant commented on July 19, 2024

運転台パネル出力仕様powerinbrakein の説明を追加しました。この仕様で実装予定です。

from bve-autopilot.

ktr8703 avatar ktr8703 commented on July 19, 2024

お知らせいただきありがとうございます。かしこまりました。
非常に早くご対応いただき、大変ありがたく存じます。
よろしくお願いいたします。

from bve-autopilot.

magicant avatar magicant commented on July 19, 2024

v1.15 で対応しました。お試しください。

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.