Arming denied: High throttle

Hey,

I have used v1.14.0 and v1.15.4, one thing common between these firmwares is that when I try to arm the aircraft (it does not happen everytime) , it says arming denied high throttle despite the throttle stick is pulled aft completely.

I looked at the source code of v.13.3 , v.1.5.4 and v1.14.0 and v.1.16.0 specifically at this bit of code.

imagein v1.14.0 and above _is_throttle_low is having condition:

_is_throttle_low=(manual_control_setpoint.throttle < -0.8f);

in v.1.13.3:

_is_throttle_low=(manual_control_setpoint.throttle < 0.1f);

I wanted to know why this change was made?

Additionally, I wanted to know why the arming is denied despite having throttle to zero

Thanks!

Hi there!

Do you have a virtual joystick enabled?
What is COM_RC_IN_MODE set to?

I did not look into the code, but most likely the mapping was adjusted from [0,1] to [-1,1]. This should not affect you, just do the RC calibration after the switch.

Otherwise, you can also in the Mavlink Console type listener manual_control_setpoint, and paste the result here.

Hi!
Thanks for the response, there were 2 bugs in my custom code. The bug was fixed by placing the code snippet at a different location. The second bug was indeed - RC calibration issue.
Thanks a lot