diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-16 17:38:33 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-16 17:38:33 +0100 |
commit | f6088c2f6ec29abafab07fe2e30aec943d09f46b (patch) | |
tree | c51928c68e734994b6e32ef5b131a0d69f0e801e /src/modules/fw_att_pos_estimator/estimator.h | |
parent | c6f6eaf0cd99aadbc93264144cdab8bba81f1937 (diff) | |
download | px4-firmware-f6088c2f6ec29abafab07fe2e30aec943d09f46b.tar.gz px4-firmware-f6088c2f6ec29abafab07fe2e30aec943d09f46b.tar.bz2 px4-firmware-f6088c2f6ec29abafab07fe2e30aec943d09f46b.zip |
Better initialization, removed unnecessary static variables, reduced scopes where feasible
Diffstat (limited to 'src/modules/fw_att_pos_estimator/estimator.h')
-rw-r--r-- | src/modules/fw_att_pos_estimator/estimator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/fw_att_pos_estimator/estimator.h b/src/modules/fw_att_pos_estimator/estimator.h index c4d3afa87..bc7181018 100644 --- a/src/modules/fw_att_pos_estimator/estimator.h +++ b/src/modules/fw_att_pos_estimator/estimator.h @@ -3,7 +3,7 @@ #pragma once -#define GRAVITY_MSS 9.80665f +#define GRAVITY_MSS 9.76f//9.80665f #define deg2rad 0.017453292f #define rad2deg 57.295780f #define pi 3.141592657f @@ -31,6 +31,8 @@ public: Vector3f y; Vector3f z; + Mat3f(); + Mat3f transpose(void) const; }; |