GithubHelp home page GithubHelp logo

Comments (4)

tmori avatar tmori commented on June 20, 2024

変更後のアーキテクチャ

スクリーンショット 2024-02-15 14 39 57

考え方

  • 1つのプロセス(箱庭アセット)で複数機体を実行する
  • さらに、マルチプロセス構成もやれるようにする

変更詳細

  • hako-master:あり/なしを選択できるようにする
  • 受信スレッド:機体毎に用意する
  • asset-runner:アセット名を変更できるようにする
  • 受信バッファ:機体毎に用意する
  • 送信バッファ:機体毎に用意する
  • 物理モデル:機体毎にインスタンス化する

from hakoniwa-px4sim.

tmori avatar tmori commented on June 20, 2024

構成例

  • 箱庭アセット1
    • 箱庭マスターを実行する
    • 4個の機体のプラントモデルを実行する
  • 箱庭アセット2
    • 6個の機体のプラントモデルを実行する

from hakoniwa-px4sim.

tmori avatar tmori commented on June 20, 2024

asset runnerは、最新の箱庭アセットAPIに差し替えたほうが良いかも。この機会に。

from hakoniwa-px4sim.

tmori avatar tmori commented on June 20, 2024

マルチインスタンスの改造ステップ

  1. まずはグローバル変数前提箇所を特定する
  2. グローバル変数を廃止して、インスタンスをベースに処理をするように修正する
  3. インスタンスを作る処理を用意する
  4. 全体制御箇所で各インスタンスをコールするように修正する

from hakoniwa-px4sim.

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.