diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-19 14:12:33 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-19 14:12:33 +0200 |
commit | 3a0fc36c67ef89faa0b20e847eb16de6362ef3e8 (patch) | |
tree | 830923ebf476da4fd6f49f8f076502a8a2bb6972 /src/modules/commander/commander_params.c | |
parent | a1a921d152c11cef9cec93f5a88777afb1acd4b6 (diff) | |
download | px4-firmware-3a0fc36c67ef89faa0b20e847eb16de6362ef3e8.tar.gz px4-firmware-3a0fc36c67ef89faa0b20e847eb16de6362ef3e8.tar.bz2 px4-firmware-3a0fc36c67ef89faa0b20e847eb16de6362ef3e8.zip |
Consider the throttle load for battery voltage calculation
Diffstat (limited to 'src/modules/commander/commander_params.c')
-rw-r--r-- | src/modules/commander/commander_params.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index 4750f9d5c..448bc53cd 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -56,7 +56,7 @@ PARAM_DEFINE_FLOAT(TRIM_YAW, 0.0f); * * @group Battery Calibration */ -PARAM_DEFINE_FLOAT(BAT_V_EMPTY, 3.4f); +PARAM_DEFINE_FLOAT(BAT_V_EMPTY, 3.3f); /** * Full cell voltage. @@ -65,7 +65,7 @@ PARAM_DEFINE_FLOAT(BAT_V_EMPTY, 3.4f); * * @group Battery Calibration */ -PARAM_DEFINE_FLOAT(BAT_V_FULL, 3.9f); +PARAM_DEFINE_FLOAT(BAT_V_FULL, 4.15f); /** * Number of cells. |