diff options
author | Lorenz Meier <lorenz@px4.io> | 2015-03-19 23:36:48 +0100 |
---|---|---|
committer | Lorenz Meier <lorenz@px4.io> | 2015-03-19 23:36:48 +0100 |
commit | 310a6b421293b42850835384a1c7f9cc70beaf57 (patch) | |
tree | a7aa36e9dfb05a4e55447a09fae255f694b5d38e /src | |
parent | b938f12ccb047114736e0baf10ab21e9b9d79522 (diff) | |
parent | b78a021fb9bfc32612f0a5095b2bba62f9e8a996 (diff) | |
download | px4-firmware-310a6b421293b42850835384a1c7f9cc70beaf57.tar.gz px4-firmware-310a6b421293b42850835384a1c7f9cc70beaf57.tar.bz2 px4-firmware-310a6b421293b42850835384a1c7f9cc70beaf57.zip |
Merge pull request #1936 from dogmaphobic/addUnits
Adding a few missing units to the Battery Calibration group.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/commander/commander_params.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/commander/commander_params.c b/src/modules/commander/commander_params.c index 1b0c4258b..94eeb6f71 100644 --- a/src/modules/commander/commander_params.c +++ b/src/modules/commander/commander_params.c @@ -55,6 +55,7 @@ PARAM_DEFINE_FLOAT(TRIM_YAW, 0.0f); * Defines the voltage where a single cell of the battery is considered empty. * * @group Battery Calibration + * @unit V */ PARAM_DEFINE_FLOAT(BAT_V_EMPTY, 3.4f); @@ -64,6 +65,7 @@ PARAM_DEFINE_FLOAT(BAT_V_EMPTY, 3.4f); * Defines the voltage where a single cell of the battery is considered full. * * @group Battery Calibration + * @unit V */ PARAM_DEFINE_FLOAT(BAT_V_CHARGED, 4.2f); @@ -74,6 +76,7 @@ PARAM_DEFINE_FLOAT(BAT_V_CHARGED, 4.2f); * to maximum current ratio and assumes linearity. * * @group Battery Calibration + * @unit V */ PARAM_DEFINE_FLOAT(BAT_V_LOAD_DROP, 0.07f); @@ -83,6 +86,7 @@ PARAM_DEFINE_FLOAT(BAT_V_LOAD_DROP, 0.07f); * Defines the number of cells the attached battery consists of. * * @group Battery Calibration + * @unit S */ PARAM_DEFINE_INT32(BAT_N_CELLS, 3); @@ -92,6 +96,7 @@ PARAM_DEFINE_INT32(BAT_N_CELLS, 3); * Defines the capacity of the attached battery. * * @group Battery Calibration + * @unit mA */ PARAM_DEFINE_FLOAT(BAT_CAPACITY, -1.0f); |