Dear ardupilot community,
I intend to read in-flight data, such as pitch, roll, yaw and battery status via Xbee telemetry from a computer. I have synced up the two Xbees and I am receiving some telemetry data from the ardupilot, though it doesn't mean anything.
I downloaded the ArduCopter V2.2b4 zip file that contains all the source code. I have explored it, and found that Serial3 is the telemetry port. However, because the code is so long, and there are numerous header files etc, I haven't been able to get a hold of the data that I intend to read wirelessly from my computer. I looked into a method called update_nav_wp(), from which I tried to attain the pitch, roll and yaw data to print to the serial monitor, but was unsuccessful.
Another thing that I will soon be striving for is to be able to give flight commands to the arducopter via the telemetry port, during flight.
If anyone has tried to achieve this, or could point me out in the right direction, I'd extremely appreciate it.
Replies
The Mission Planner reads all this data. It's in binary MAVLink format.