Servers by jDrones

Pixhawk EKF is Red, LED Double flashing yellow

(Lagg Lagging) #1

I am trying to get EKF 2 to function properly on my Pixhawk 2. When the Pixhawk turns on, the led flashes “double yellow” and the indicator on the mission planner HUD shows EKF in red text. When clicked on, a panel appears that shows velocity_horiz Off and pos_horiz_abs Off in red text. I have attached a picture of this below.

I haven’t setup an RC controller, so I assume that that is the source of the RC errors. Apart from that, the messages panel contains very little information as to what could be wrong. Once the MavLink connection has been established, the following is logged:

GPS: u-blox 1 saving config
Frame: HEXA
fmuv2 0048001E 33355102 34303335
ChibiOS: ff603d11
ArduCopter V3.6.3 (63eb66fe)
u-blox 1 HW: 00080000 SW: ROM CORE 3.01 (107888)

The ‘Arm/Disarm’ action returns ‘Error: command rejected by MAV’. In the PreFlight Panel, all conditions are either green or white.

Here is a pastebin with all of the parameters.

And here is a picture of what the EKF panel is showing:

I would be grateful for any ideas/suggestions you have as to how I can solve or further debug this problem. Thank you for your time.

(anon67614380) #2

Very high HDOP and low number of sats locked (5). That is where your pos and vel errors come from.

Once the GPS settles with more sats and lower hdop errors will go away.

So, bottom line is that you have to see if gps has something wrong to justify those poor performances.

Command gets rejected because hdop is too high probably.


(Borhan Uddin) #3

@MrLaggy i am facing same problem. EKF is RED. Did you solved your problem???

(hosein gh) #4

as anon67614380 said it because of high HDOP it will go away when HDOP below 1.5.
you need more than 7 satellite.
and note that flying in loiter with lower than 12 satellite is not good and dangerous.

(Borhan Uddin) #5

here 7-12 satellite. EKF always red. How i will recover the problem. :black_flag:

(hosein gh) #6

its better to see logs from your fc
set these parameters :
and turn on your fc and arm motors but not fly then send log file for a better analysis

(Borhan Uddin) #7

Thanks @hosein_gh i got it

(Borhan Uddin) #8

But i am facing another problem. My copter will be fly always in indoor. i have used range finder for indoor fly. When EKF signal is RED then can not get value from range finder sensor (i mean altitude value fracture or use barometer). When EKF signal is good then work and get value from range finder sensor. As my drone will fly always in indoor. So there are bad gps signal. So how i will overcome the issue. Help me.

(hosein gh) #9

When you fly in door you will not get an low HDOP

You can disable GPS in prearm checks

But never use Loiter , rtl , srtl or auto mode because they need gps 3D lock and low HDOP

(Borhan Uddin) #10

@hosein_gh thanks, i am sorry for late replay. My mission planner version show armin%20check

I have unchecked the All tab. But same result EKF signal is RED altitude source used barometer not rangefinder. i want use range finder always.

(hosein gh) #11

Its hard to help without logs
Please set LOG_DISARMED=1 and send log to find problem