mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:33:33 +08:00
Formatting.
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ int main()
|
||||
|
||||
// quaternion product
|
||||
Quatf q_prod_check(
|
||||
0.93394439f, 0.0674002f, 0.20851f, 0.28236266f);
|
||||
0.93394439f, 0.0674002f, 0.20851f, 0.28236266f);
|
||||
assert(q_prod_check == q_check*q_check);
|
||||
|
||||
};
|
||||
|
||||
+2
-1
@@ -19,7 +19,8 @@ int main()
|
||||
float data_check[9] = {
|
||||
-0.4f, -0.8f, 0.6f,
|
||||
-0.4f, 4.2f, -2.4f,
|
||||
0.6f, -2.8f, 1.6f};
|
||||
0.6f, -2.8f, 1.6f
|
||||
};
|
||||
|
||||
SquareMatrix<float, 3> A(data);
|
||||
SquareMatrix<float, 3> A_I = inv(A);
|
||||
|
||||
@@ -60,7 +60,8 @@ int main()
|
||||
float data_col_02_swap[9] = {
|
||||
3, 2, 1,
|
||||
6, 5, 4,
|
||||
9, 8, 7};
|
||||
9, 8, 7
|
||||
};
|
||||
|
||||
Matrix3f m4(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user