mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 21:23:35 +08:00
Simulator: Make battery discharging configurable.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user