Quadcopter does not takeoff

Hi guys,

I am trying to make PX4 work with on my custom hardware as a project.
The problem is that it does not seem to takeoff and that the motor output seems to determined by the MIS_TAKEOFF_ALT.
See this log file with MIS_TAKEOFF_ALT 1.4: https://logs.px4.io/plot_app?log=8bc2a72b-3989-4a1d-8c7e-64df6e6f2c6c
And this log file with MIS_TAKEOFF_ALT 2.0: https://logs.px4.io/plot_app?log=4e435525-05d1-4c5a-b0bb-f2227b9c2763
When using the takeoff_alt of 2.0 the quadcopter will not fully lift of yet, but is really close.
Is my quadcopter to heavy? It weighs 2 kilogram but the motors should be able to produce 1 kg of thrust each.