[DJI-log-discuss] Compiling
Paddy Evans
petermsevans at gmail.com
Sat Feb 29 12:18:59 PST 2020
Thanks for your help - that did the trick. I tried it on a log file that
I converted successfully using an online tool but it reported an error
(see below) and only processed the first eleven entries out of 1,712.
Please find log attached.
./djiparsetxt 'DJIFlightRecord_2017-10-05_[16-30-58].txt' > test.csv
--------------------------------------------------------------------------------------
"./djiparsetxt", version 2020-01-25. Copyright (c) 2020 Live Networks,
Inc. All rights reserved.
For the latest version of this program (and more information), visit
http://djilogs.live555.com
File version number: 0x09
[1] recordType 1[OSD], recordLength 52
[1] recordType 3[GIMBAL], recordLength 14
[1] recordType 4[RC], recordLength 16
[1] recordType 5[CUSTOM], recordLength 20
[1] recordType 19[MC_PARAM], recordLength 4
MC_PARAM (unknown format), 3 bytes: :af:00:26
[2] recordType 1[OSD], recordLength 52
[2] recordType 3[GIMBAL], recordLength 14
[2] recordType 4[RC], recordLength 16
[2] recordType 5[CUSTOM], recordLength 20
[3] recordType 1[OSD], recordLength 52
[3] recordType 3[GIMBAL], recordLength 14
[3] recordType 4[RC], recordLength 16
[3] recordType 5[CUSTOM], recordLength 20
[4] recordType 1[OSD], recordLength 52
[4] recordType 3[GIMBAL], recordLength 14
[4] recordType 4[RC], recordLength 16
[4] recordType 5[CUSTOM], recordLength 20
[5] recordType 1[OSD], recordLength 52
[5] recordType 3[GIMBAL], recordLength 14
[5] recordType 4[RC], recordLength 16
[5] recordType 6[DEFORM], recordLength 3
[5] recordType 5[CUSTOM], recordLength 20
[6] recordType 1[OSD], recordLength 52
[6] recordType 3[GIMBAL], recordLength 14
[6] recordType 4[RC], recordLength 16
[6] recordType 5[CUSTOM], recordLength 20
[7] recordType 1[OSD], recordLength 52
[7] recordType 3[GIMBAL], recordLength 14
[7] recordType 4[RC], recordLength 16
[7] recordType 5[CUSTOM], recordLength 20
[8] recordType 1[OSD], recordLength 52
[8] recordType 3[GIMBAL], recordLength 14
[8] recordType 4[RC], recordLength 16
[8] recordType 5[CUSTOM], recordLength 20
[9] recordType 1[OSD], recordLength 52
[9] recordType 3[GIMBAL], recordLength 14
[9] recordType 4[RC], recordLength 16
[9] recordType 5[CUSTOM], recordLength 20
[10] recordType 1[OSD], recordLength 52
[10] recordType 2[HOME], recordLength 70
[10] recordType 3[GIMBAL], recordLength 14
[10] recordType 4[RC], recordLength 16
[10] recordType 6[DEFORM], recordLength 3
[10] recordType 7[CENTER_BATTERY], recordLength 41
[10] recordType 8[SMART_BATTERY], recordLength 32
[10] recordType 11[RC_GPS], recordLength 32
RC_GPS (unknown format), 31 bytes:
:0f:1f:0f:e1:07:0a:05:60:f2:b3:1e:68:be:02:00:24:00:00:00:00:00:00:00:09:8f:c2:75:3f:01:00:54
[10] recordType 5[CUSTOM], recordLength 20
[10] recordType 13[RECOVER], recordLength 87
Unexpected error in parsing
Premature end of record parsing at file position 1536 (0x00000600)
48 records parsed; max num records for one type: 10
1[OSD]: 10 length: 52
2[HOME]: 1 length: 70
3[GIMBAL]: 10 length: 14
4[RC]: 10 length: 16
5[CUSTOM]: 10 length: 20
6[DEFORM]: 2 length: 3
7[CENTER_BATTERY]: 1 length: 41
8[SMART_BATTERY]: 1 length: 32
11[RC_GPS]: 1 length: 32
13[RECOVER]: 1 length: 87
19[MC_PARAM]: 1 length: 4
Done writing CSV.
-------------------------------------------------------------------------
PE
------ Original Message ------
From: "Paddy Evans" <petermsevans at gmail.com>
To: dji-log-discuss at lists.live555.com
Sent: 29/02/2020 14:41:19
Subject: Compiling
>Hi,
>
>I have downloaded the file onto an Ubuntu 18 server that seems to have
>all of the required dependencies but my talents don't include C++ and
>so I have never compiled source code. I have followed the instructions
>and extracted it, which yielded a new folder with many files with
>either no extension, .o, .pp or .hh, and then have run make but I
>don't seem to be any closer to having an executable.
>
>Could I trouble someone for the instructions to complete the
>compilation?
>
>Many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ns.live555.com/pipermail/dji-log-discuss/attachments/20200229/ee843ad5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DJIFlightRecord_2017-10-05_[16-30-58].zip
Type: application/x-zip-compressed
Size: 232419 bytes
Desc: not available
URL: <http://ns.live555.com/pipermail/dji-log-discuss/attachments/20200229/ee843ad5/attachment-0001.bin>
More information about the DJI-log-discuss
mailing list