My current project is with Pixhawk serial communication with Raspberry Pi 3. I got a successful connection, i can read certain values from pixhawk using Raspberry Pi. I got the accelerometer readings, altitude, position, velocity and all. My final aim is to get and identify the current Flight Mode using MAVLink protocol. Someone please help me to find the current Flight mode using MAVLink protocol using Heartbeat command or something else.
Something i found here, http://mavlink.org/messages/common type cntrl+f , search '#0'