ARM + GPS OK Output

Hi,
I change controller from APM to PIXHAWK, it works much better but i need outputs for be sure that controller is Armed and GPS is in good condition.

in APM i had such outputs:

but i can’t found this potion in PIXHAWK.
I need signal on AUX output when main led on pixhawk light solid green.

The old single LED’s on the APM are now replaced by intelligent LED’s on the I2C bus.
So just add an external RGB LED on the I2C and it will be seen and operated to reflect the main LED.

i need output, not led - now i’m changing source code for it.

Wouldn’t it be easier to read mavlink messages with an arduino or something and set certain outputs on arduino respectively?

i think that easier is put this some lines to source code (working perfectly for me)

if ( (AP_Notify::flags.armed) && (AP_Notify::flags.gps_status >= AP_GPS::GPS_OK_FIX_3D) {
copter.relay.on(1);
} else {
copter.relay.off(1);
}

2 Likes