dataflash logs to CSV?

626 views
Skip to first unread message

Clayton Smith

unread,
Aug 8, 2013, 6:01:01 AM8/8/13
to drones-...@googlegroups.com
Hello - just wondering if we have any info info or tools for converting dataflash logs for importing to other (Matlab)?  Perhaps converting them to .csv?  

It also appears the telem logs previously could be exported from Mission Planner as CSV, but not nowadays?

Thanks,

Brandon Jones

unread,
Aug 8, 2013, 7:34:02 AM8/8/13
to drones-...@googlegroups.com
Hi Clayton,

At least in MP 2.67 check out telem logs (tab), Tlog > Kml or graph (button), Convert to CSV (button).

Here is a rudimentary tlog csv format to MATLAB conversion script I wrote, it just puts any measurands found into a data structure:

-Brandon J

--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Craig Elder

unread,
Aug 8, 2013, 8:03:07 PM8/8/13
to drones-discuss
All you have to do is rename the file.  It is a csv format

ArduCopter V3.0.1
Free RAM: 1196
APM 1
FMT, 128, 89, FMT, BBnNZ, Type,Length,Name,Format
FMT, 129, 23, PARM, Nf, Name,Value
FMT, 130, 35, GPS, BIBcLLeeEe, Status,Time,NSats,HDop,Lat,Lng,RelAlt,Alt,Spd,GCrs
FMT, 131, 27, IMU, ffffff, GyrX,GyrY,GyrZ,AccX,AccY,AccZ
FMT, 132, 67, MSG, Z, Message
FMT, 9, 19, CURR, hIhhhf, Thr,ThrInt,Volt,Curr,Vcc,CurrTot
FMT, 11, 11, MOT, hhhh, Mot1,Mot2,Mot3,Mot4
FMT, 12, 28, OF, hhBccffee, Dx,Dy,SQual,X,Y,Lat,Lng,Roll,Pitch
FMT, 5, 49, NTUN, Ecffffffffee, WPDst,WPBrg,PErX,PErY,DVelX,DVelY,VelX,VelY,DAcX,DAcY,DRol,DPit
FMT, 4, 25, CTUN, hcefhhhhh, ThrIn,SonAlt,BarAlt,WPAlt,NavThr,AngBst,CRate,ThrOut,DCRate
FMT, 15, 21, MAG, hhhhhhhhh, MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ
FMT, 6, 17, PM, BBBHHIhB, RenCnt,RenBlw,FixCnt,NLon,NLoop,MaxT,PMT,I2CErr
FMT, 8, 20, CMD, BBBBBeLL, CTot,CNum,CId,COpt,Prm1,Alt,Lat,Lng
FMT, 1, 17, ATT, cccccCC, RollIn,Roll,PitchIn,Pitch,YawIn,Yaw,NavYaw
FMT, 17, 37, INAV, cccfffiiff, BAlt,IAlt,IClb,ACorrX,ACorrY,ACorrZ,GLat,GLng,ILat,ILng
FMT, 3, 6, MODE, Mh, Mode,ThrCrs
FMT, 10, 3, STRT, , 
FMT, 13, 4, EV, B, Id
FMT, 20, 6, D16, Bh, Id,Value
FMT, 21, 6, DU16, BH, Id,Value
FMT, 22, 8, D32, Bi, Id,Value
FMT, 23, 8, DU32, BI, Id,Value
FMT, 24, 8, DFLT, Bf, Id,Value
FMT, 14, 28, PID, Biiiiif, Id,Error,P,I,D,Out,Gain
FMT, 16, 15, DMP, ccccCC, DCMRoll,DMPRoll,DCMPtch,DMPPtch,DCMYaw,DMPYaw
FMT, 18, 25, CAM, ILLeccC, GPSTime,Lat,Lng,Alt,Roll,Pitch,Yaw
FMT, 19, 5, ERR, BB, Subsys,ECode


etc.
Reply all
Reply to author
Forward
0 new messages