慣性航法で用いられる座標変換をプログラムにしました。ECI座標の初期位置を設定した後、ECI,ECEF,NED,機体座標系の変換を行います。行列計算の方法や値の設定などは、ヘッダーファイル内の記述を見れば分かると思います。 また計算結果はTeratermで確認する事が出来ます。 (行列を見る場合はtoString関数、ベクトルを見る場合はtoString_V関数を使用します)
Vector/Vector_Matrix_operator.h@0:6a28eb668082, 2019-01-30 (annotated)
- Committer:
- Joeatsumi
- Date:
- Wed Jan 30 11:39:03 2019 +0000
- Revision:
- 0:6a28eb668082
Direction cosine matrix and it's calculation.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Joeatsumi | 0:6a28eb668082 | 1 | #include "Matrix.h" |
Joeatsumi | 0:6a28eb668082 | 2 | #include "Vector.h" |
Joeatsumi | 0:6a28eb668082 | 3 | |
Joeatsumi | 0:6a28eb668082 | 4 | Vector operator*(const Matrix& lhm, const Vector& rhv); |
Joeatsumi | 0:6a28eb668082 | 5 | Vector operator*(const Vector& lhv, const Matrix& rhm); |