Giter VIP home page Giter VIP logo

6dof2map's Introduction

6軸の加速度ジャイロの値からGoogle Earthに変換する

慣性計測装置からGoogle Earthに出力するためのスクリプト 機体座標と地平座標の変換を行なっている。 matlab互換のoctaveで動作確認

  • 計測値、クォータニオン、オイラー角、速度、位置のグラフ
  • 加速度ジャイロの計測値から擬似的なGPSデータを生成してGoogle Earthで読める形式で出力

使い方

octaveを開いて、6DoF2Mapのディレクトリで

> main

とすると実行される。

### 設定 main.mファイルの中身で設定を行う。

SHOW_PLOT = 0; OUTPUT_GPS = 1; という部分が出力設定。 SHOW_PLOTはグラフ出力、OUTPUT_GPSはGoogle Earth用の.nmeaファイル出力。 0で出力しない、1で出力

クォータニオン

Octaveでクォータニオンを使うときはpackageがあるのでそれを使うのが望ましい。 理解のためと他の言語で記述する必要があったために自分でクォータニオンの演算を実装している。

Octave-Forge Quaternion Package

参考

Wikipedia - Conversion between quaternions and Euler angles

6dof2map's People

Contributors

ina111 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

tocchi02

6dof2map's Issues

修正事項

座標系をENUかUENに一括変更
初期方位角のquat2azimth,rollが間違っている。
CR+LFをLFに変える。LFにすればWin機ではLFになる。

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.