diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-22 21:20:04 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-22 21:20:04 +0200 |
commit | ed19faf4289eed5eeb3339e9609e976b9195020c (patch) | |
tree | ef8afa8359575d47f594fd1314caf705145bfc7a /src/modules/commander/commander_params.c | |
parent | a9a8f1435fa798b289aa4e4af9312041abdbcf94 (diff) | |
parent | 1b5d4e5bd4fbee8f994c95d69be7660fd211d2f4 (diff) | |
download | px4-firmware-ed19faf4289eed5eeb3339e9609e976b9195020c.tar.gz px4-firmware-ed19faf4289eed5eeb3339e9609e976b9195020c.tar.bz2 px4-firmware-ed19faf4289eed5eeb3339e9609e976b9195020c.zip |
Merge remote-tracking branch 'upstream/master' into obcfailsafe
Diffstat (limited to 'src/modules/commander/commander_params.c')
-rw-r--r-- | src/modules/commander/commander_params.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index 980a7a2bb..f73ae71f3 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -65,7 +65,17 @@ PARAM_DEFINE_FLOAT(BAT_V_EMPTY, 3.4f); * * @group Battery Calibration */ -PARAM_DEFINE_FLOAT(BAT_V_FULL, 3.9f); +PARAM_DEFINE_FLOAT(BAT_V_CHARGED, 4.2f); + +/** + * Voltage drop per cell on 100% load + * + * This implicitely defines the internal resistance + * to maximum current ratio and assumes linearity. + * + * @group Battery Calibration + */ +PARAM_DEFINE_FLOAT(BAT_V_LOAD_DROP, 0.07f); /** * Number of cells. |