GithubHelp home page GithubHelp logo

Comments (6)

tmori avatar tmori commented on May 23, 2024

全タスク終了したので、クローズします。

from hakoniwa-px4sim.

tmori avatar tmori commented on May 23, 2024

クローズ

from hakoniwa-px4sim.

tmori avatar tmori commented on May 23, 2024

Windows対応ですが、現状のUDP通信だと導入障壁が高いのと、通信オーバーヘッドもかかるので、MMAP方式にしたいため、再オープンします。

from hakoniwa-px4sim.

tmori avatar tmori commented on May 23, 2024

アーキテクチャ案

  • 課題1:制御プログラムは、Visual Studio Communityで開発できるようにしたい
  • 課題2:箱庭側のコードは、Visual Studio Communityでビルドできるようにしたい

おそらく、課題2の対応が時間がかかると思われる。

スクリーンショット 2024-02-21 8 51 15

from hakoniwa-px4sim.

tmori avatar tmori commented on May 23, 2024

作業タスクリスト

  • Visual Studioで箱庭コア機能をビルドできるようにする
  • Visual Studioでhakoniwa-px4simの箱庭側をビルドできるようにする
  • 作成した箱庭のDLLライブラリをUnityに組み込みMMAP通信できることを確認する
  • PID制御アプリをVisual Studioでビルドして、Unityとの連携シミュレーションする
  • 箱庭コア機能のライブラリの改修
  • 新しいアーキテクチャのインストール手順を書く

from hakoniwa-px4sim.

tmori avatar tmori commented on May 23, 2024

動作確認のための準備

環境変数の設定

  • HAKO_CONFIG_PATH: E:\project\hakoniwa-core-cpp-client\cpp_core_config.json
  • HAKO_CUSTOM_JSON_PATH : ../config/custom.json
  • DRONE_CONFIG_PATH : ../config

px4simが起動するかどうか

実行場所:hakoniwa-px4sim\hakoniwa\cmake-build

起動した。

..\..\out\build\x64-Debug\hakoniwa\src\hako-px4sim.exe 127.0.0.1 4560 sim
HAKO_CAPTURE_SAVE_FILEPATH : ./capture.bin
HAKO_BYPASS_IPADDR : 127.0.0.1
HAKO_CUSTOM_JSON_PATH : ../config/custom.json
DRONE_CONFIG_PATH : ../config
HAKO_BYPASS_PORTNO : 54001
INFO: LOADED drone config file: ../config\drone_config_0.json
INFO: hako_master_init() success
INFO: setup start
INFO: px4sim_receiver_init() i = 0
DroneDynamicType: BodyFrame
INFO: logpath: ./drone_log0/drone_dynamics.csv
Rotor vendor: None
Thruster vendor: None
param_A: 1.53281e-08
param_B: 1.3e-10
param_Jr: 1e-10

mmapファイルもできている。

$ ls -l /mnt/e/project/hakoniwa-core-cpp-client/mmap/
total 1108
-rwxrwxrwx 1 tmori tmori    4096 Feb 22 10:57 flock.bin
-rwxrwxrwx 1 tmori tmori 1129368 Feb 22 10:54 mmap-0xff.bin

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.