mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 22:53:34 +08:00
More testing and cleanup.
This commit is contained in:
+6
-4
@@ -8,9 +8,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Matrix.hpp>
|
||||
#include <Quaternion.hpp>
|
||||
#include <Euler.hpp>
|
||||
#include "matrix.hpp"
|
||||
|
||||
|
||||
namespace matrix
|
||||
{
|
||||
@@ -18,6 +17,9 @@ namespace matrix
|
||||
template<typename Type>
|
||||
class Quaternion;
|
||||
|
||||
template<typename Type>
|
||||
class Euler;
|
||||
|
||||
template<typename Type>
|
||||
class Dcm : public Matrix<Type, 3, 3>
|
||||
{
|
||||
@@ -28,7 +30,7 @@ public:
|
||||
|
||||
Dcm() : Matrix<Type, 3, 3>()
|
||||
{
|
||||
Matrix<Type, 3, 3>::setIdentity();
|
||||
(*this) = eye<Type, 3>();
|
||||
}
|
||||
|
||||
Dcm(const Type *data_) : Matrix<Type, 3, 3>(data_)
|
||||
|
||||
Reference in New Issue
Block a user