ArduPilotMega, XBee & OpenLog

I am an aerobatic pilot (full-scale Citabria & Pitts S2C) I am trying to create a simple interface for logging my flight data for post flight analysis, and later pulling the data into MatLab and/or Excel. My background is 12yrs aerospace engineering, flight testing (military), with programming in Fortran, MatLab & C/C++.My setup is the following:- DIY Drones Ardupilot Mega Kit (Atmega 2560) + IMU- DIY Drones uBlox GPS Kit- DIY Drones Magnetometer- DIY Drones Wireless Kit (900 MHz)- Sparkfun OpenLog w/ 2 Gb card- (batteries of course)I would like to have 2 separate setups:1. log data from the APM in the airplane (with me) to the OpenLog directly (I do not want to use the APM on-board logging because of aircraft placement restrictions).2. send the APM data to the ground via XBee and log to the OpenLog on the ground (direct XBee to OpenLog)I am interested in the following data from the APM "CLI" -> "test" parameter select menu (just to be clear)- imu- gyro- gps- rawgpsI loaded the "MultiSerialMega.pde" test software to the APM to evaluate the range in the airplane (for the XBee's), and everything checked out fine. This also enabled me to verify that the OpenLog was working properly. From a serial interface point of view, everything works as I had planned.I have loaded the APM 2.21 software with default options, minus the specific "define" options that I have (hardware). The challenge I have is the "serial3" port interface which I need to have sending ASCII text data at 50Hz.I have also modified the GPS_IMU_test from the downloads page, but this does not output the velocities and accelerations in XYZ (in body coordinates).Is there a simple serial interface (other than ground control stations) which would output this data for me? I noticed the "GCS_simple" option in the APM literature. But this does not appear to be an option in the "#if" statement in the ArduPilotMega.pde (line 189). Is there additional test code which would allow me to output the IMU and GPS data to the Serial3 port?Thank you in advance for your help!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics
    All the ground stations can already log that to the hard drive. Why not just use them?
This reply was deleted.

Activity