Simulator: Make battery discharging configurable.

This commit is contained in:
Lorenz Meier
2017-08-20 20:37:31 +02:00
parent 641f2f856b
commit 7223780563
4 changed files with 45 additions and 6 deletions
+11
View File
@@ -46,3 +46,14 @@
* @group SITL
*/
PARAM_DEFINE_INT32(SITL_UDP_PRT, 14560);
/**
* Simulator Battery drain interval
*
* @min 1
* @max 86400
* @increment 1
*
* @group SITL
*/
PARAM_DEFINE_FLOAT(SIM_BAT_DRAIN, 60);