bat_sim: parameter for disabling battery simulator

This commit is contained in:
Alessandro Simovic
2024-02-06 10:21:21 -05:00
committed by Daniel Agar
parent 1917c138f7
commit a6fcb8ef1e
2 changed files with 18 additions and 1 deletions
@@ -31,6 +31,18 @@
*
****************************************************************************/
/**
* Simulator Battery enabled
*
* Enable or disable the internal battery simulation. This is useful
* when the battery is simulated externally and interfaced with PX4
* through MAVLink for example.
*
* @boolean
* @group SITL
*/
PARAM_DEFINE_INT32(SIM_BAT_ENABLE, 1);
/**
* Simulator Battery drain interval
*