HITL battery fail-safe test

Hello,

we are using PX4 gazebo simulation for our HITL tests. Now I am wondering if it’s possible to test the battery fail-safe as well. Is it possible to somehow simulate battery drain to reach the critical battery levels to trigger the fail-safe?

Thanks in advance

Hi @marvin_wtt!
Did you find the solution?

Looks like there is something on battery failsafe for SITL:
https://docs.px4.io/master/en/advanced_config/parameter_reference.html#sitl