diff options
author | jgoppert <james.goppert@gmail.com> | 2013-01-06 15:33:55 -0500 |
---|---|---|
committer | jgoppert <james.goppert@gmail.com> | 2013-01-06 15:33:55 -0500 |
commit | d9491b20cc5fc8b683eb0f60a50da6b322b55e57 (patch) | |
tree | 48d44accf2ccff88766bca351c78be06bb9fa4a0 /apps/systemlib/math/Dcm.hpp | |
parent | 4f3b17f53b120cd54112097f4217a90863013c1f (diff) | |
download | px4-firmware-d9491b20cc5fc8b683eb0f60a50da6b322b55e57.tar.gz px4-firmware-d9491b20cc5fc8b683eb0f60a50da6b322b55e57.tar.bz2 px4-firmware-d9491b20cc5fc8b683eb0f60a50da6b322b55e57.zip |
Reformat of math library with astyle.
Diffstat (limited to 'apps/systemlib/math/Dcm.hpp')
-rw-r--r-- | apps/systemlib/math/Dcm.hpp | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/apps/systemlib/math/Dcm.hpp b/apps/systemlib/math/Dcm.hpp index 658d902fa..de69a7aa4 100644 --- a/apps/systemlib/math/Dcm.hpp +++ b/apps/systemlib/math/Dcm.hpp @@ -42,7 +42,8 @@ #include "Vector.hpp" #include "Matrix.hpp" -namespace math { +namespace math +{ class Quaternion; class EulerAngles; @@ -52,41 +53,41 @@ class EulerAngles; * (yaw)-(pitch)-(roll) * The Dcm transforms a vector in the body frame * to the navigation frame, typically represented - * as C_nb. C_bn can be obtained through use + * as C_nb. C_bn can be obtained through use * of the transpose() method. */ class __EXPORT Dcm : public Matrix { public: - /** - * default ctor - */ - Dcm(); + /** + * default ctor + */ + Dcm(); - /** - * data ctor - */ - Dcm(const float * data); + /** + * data ctor + */ + Dcm(const float *data); - /** - * quaternion ctor - */ - Dcm(const Quaternion & q); + /** + * quaternion ctor + */ + Dcm(const Quaternion &q); - /** - * euler angles ctor - */ - Dcm(const EulerAngles & euler); + /** + * euler angles ctor + */ + Dcm(const EulerAngles &euler); - /** - * copy ctor (deep) - */ - Dcm(const Dcm & right); + /** + * copy ctor (deep) + */ + Dcm(const Dcm &right); - /** - * dtor - */ - virtual ~Dcm(); + /** + * dtor + */ + virtual ~Dcm(); }; int __EXPORT dcmTest(); |