Like to test my APM by riding as a passenger in a real aircraft with Mission Planner on a laptop

Hi all,

   I would like to test out my APM 2.5 by riding along in a friend's aircraft and seeing the data (pitch, roll, accelerations, altitude, etc) from the APM hooked to my laptop. I would like to record the data while flying and plot it out using Excel back on the ground. I expect to watch the data on the plotting and HUD+dials of the SUPERGREAT Mission Planner. WOW - you guys have done a terrific job!

   I assume that I will need to change the code in the APM a little to get it to record data packets even though it is still connected via the USB cable to the laptop running the Mission Planner. Any ideas?

   Has anyone already found a way to plot using Excel or is the logfile in CSV format already?

 

I really appreciate the help! This project has so many great contributors!

 

Dave

Views: 141

Reply to This

Replies to This Discussion

Hello, i noticed on my APM 2 that if i connect the USB and also the "main" power battery it saves a log.

For example i get a log file when i make my calibration "on bench" ...

But i don't know if there is all the informations on those logs ( i delete them without looking in it ).

Just connect the USB after connecting normally the APM just like you were really flying with your APM

and it might work and save the log of your real aircraft flight.

Just connect a 4 cells NiMH battery pack (6V) on any input or output slot.

Maybe you will need to arm the motors and leave a "non zero" throttle value.

I don't know if logs are saved without really flying ...

I suppose logs are not full if the model doesn't actually fly ...

@DanRZ,

  Thanks for your ideas, but I would be glad to make simple changes to the APM ArduPlane software so it would think its flying even though it is still connected to the USB from my laptop.I am hoping that one of the APM software designers would be able to comment - maybe I should post under that topic on our forum.

 

Actually it looks like APM + Mission Planner does what I want to do as is. Only one thing so far is that I would like to be able to stop and start new logfiles during my testing - maybe even after just a couple minutes. This appears possible except that each reconnect takes about 30 seconds - not a big deal. I don't know which data packets are being recorded yet - seems pretty good though!

    Much thanks to Michael Oborne and the other contributors for such an amazing product as Mission Planner!

 

Dave

One significant problem with this - flying with APM in a real aircraft and making several separate tests is if I want a SEPARATE tlog for each test, I have to Disconnect and then Connect again. I get the feeling that the IMU will calibrate each time - but I won't be on the ground with no movement!

 

Uh-oh!

YAY! Either this was changed recently or I overlooked it in the Configuration->Plannere tab - it's called APM reset. Thanks!!

One note on my request for help about Excel or , in my case, OpenOffice (free and similar-to-Microsoft Office option). With OpenOffice, there is a Basic or Javascript type IDE and scripting language built in ( called Macros). I was able to read the documentation and come up with a script that looks for the right MAVLINK packets from the CSV version of the tlog files and plot some of the variables. These plots can be copied to a Powerpoint like (called Impress) slide for final showing - very cool! If anyone is interested, I could post my test script for reference and show the weblinks of interest.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service