HIL with jMAV Autodisarming

Howdy,

I’m attempting to run HIL using jMAVsim following this px4 guide:

https://dev.px4.io/master/en/simulation/hitl.html

I can successfully start the simulation and begin a takeoff, but part way through the takeoff the simulated drone will disarm and drop to the ground. I also get errors in QGC stating that it cant read various battery parameters. I have overridden the following parameters to try to avoid this problem:

  1. COM_DISARM_LAND
  2. COM_DISARM_PRFLT
  3. CBRK_SUPPLY_CHK

Is the lack of battery parameters causing the HIL simulation to show the drone running out of battery power or something like that? A quick look through the ./src/modules/sih files it doesn’t look like HIL simulation takes into account the battery, but maybe QGC is doing something?

I would appreciate any help in the matter.

Thanks in advance