You need to establish serial communication between pixhawk and your embedded card and parse mavlink messages. This might help.
You need to establish serial communication between pixhawk and your embedded card and parse mavlink messages. This might help.