慣性航法で用いられる座標変換をプログラムにしました。ECI座標の初期位置を設定した後、ECI,ECEF,NED,機体座標系の変換を行います。行列計算の方法や値の設定などは、ヘッダーファイル内の記述を見れば分かると思います。 また計算結果はTeratermで確認する事が出来ます。 (行列を見る場合はtoString関数、ベクトルを見る場合はtoString_V関数を使用します)

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Vector_Matrix_operator.h Source File

Vector_Matrix_operator.h

00001 #include "Matrix.h"
00002 #include "Vector.h"
00003 
00004 Vector operator*(const Matrix& lhm, const Vector& rhv);
00005 Vector operator*(const Vector& lhv, const Matrix& rhm);