Not able to set Global_Position of my drone?

I am having an issue with my pixhawk 2.4.8, iam planning an auto mission through python but for the auto mission to run my drone has to set the global_position first. iam facing an error here as my EKF is fusing the sensor data but MAVSDK is not trusting it and due to this iam not able to run the auto mission. i have checked whether the sensor data is coming to EKF or not , data is coming but i could not find a single parameter related to EKF in my parameter tree.

CAN ANYONE HELP ME WITH THIS PLS?

Can you share a log? You can record from boot using SDLOG_MODE.

hi julian, this is my flight log. i am not gettingit as my gps was fine and it set the home position and also showed the 3d dgps in my mission planner but in log its showing 0 sats.

Duration 0:27:45
Vehicletype ArduCopter
Firmware Version V4.6.3
Firmware Hash 92b0cd78
Hardware Type
Free Mem 0
Skipped Lines 0
Test: Autotune = UNKNOWN - No ATUN log data
Test: Brownout = GOOD -
Test: Compass = GOOD - mag_field interference within limits (12.00%)

Test: Dupe Log Data = GOOD -
Test: Empty = FAIL - Empty log? Throttle never above 20%
Test: Event/Failsafe = GOOD -
Test: GPS = FAIL - Min satellites: 0, Max HDop: 99.99
Test: IMU Mismatch = NA -
Test: Motor Balance = UNKNOWN - ‘QUAD/X’
Test: NaNs = FAIL - Found NaN in CTUN.TAlt
Found NaN in CTUN.DSAlt

Test: OpticalFlow = FAIL - ‘FLOW_FXSCALER’ not found
Test: Parameters = FAIL - ‘MAG_ENABLE’ not found
Test: PM = UNKNOWN - ‘NLoop’
Test: Pitch/Roll = UNKNOWN - Unknown mode in TestPitchRollCoupling: GUIDED_NOGPS
Test: Thrust = GOOD -
Test: VCC = UNKNOWN - No CURR log data

This is ArduCopter, please ask in discuss.ardupilot.org.