Apm planner can't resolve log file that added new field data

44 struct PACKED log_GPS { 45 LOG_PACKET_HEADER; 46 uint64_t time_us; 47 uint8_t status; 48 uint32_t gps_week_ms; 49 uint16_t gps_week; 50 uint8_t num_sats; 51 uint16_t hdop; 52 int32_t latitude; 53 int32_t longitude; 54 int32_t altitude; 55 float ground_speed; 56 float ground_course; 57 float vel_z; 58 float heading; 59 uint8_t used; 60 };
add heading field, but apm planner 2.0 can not resolve log file, show error “Error preparing insertquery: GPS table GPS has no column named U Unable to execute statement”, but mission planner works well.
So, APM Planner2.0 doesn’t support custom log message?

version: APM Planner v2.0.24

If it is possible you should test the current master of APM planner, cause there have been heavy refactorings / redesign in the logparsing and analyzing code.
Normally the APM Planner supports all types of custom messages as long as the message match their format description (FMT). Let me know if you have Problems with the current master.

i compiled latest code of apm planner, but it could not start correctly, a fatal error shows as below

[20170512 13:19:16.329 DEBUG] - QML Status: 1 [20170512 13:19:16.330 INFO ] - NETWORK_PROXY: Disabling System Network Proxies [20170512 13:19:16.332 INFO ] - Screen Size is QRect(0,0 1920x1080) [20170512 13:19:16.434 WARN ] - QSettings::endGroup: No matching beginGroup() [20170512 13:19:16.451 DEBUG] - Create Serial Connection: SerialConnection(0x3efb4b0) [20170512 13:19:16.456 INFO ] - "ttyS0" 115200 [20170512 13:19:16.457 DEBUG] - APMToolBar: new Serial Link Created 1 [20170512 13:19:16.457 DEBUG] - APMToolBar setConnection: false [20170512 13:19:16.457 DEBUG] - APMToolBar: updateLinkDisplay "ttyS0" : "115200" connected: false [20170512 13:19:16.457 INFO ] - UDP Created "UDP Link (port:14550)" [20170512 13:19:16.457 INFO ] - UDPLink::UDP connect QHostAddress(QHostAddress::Any) : 14550 [20170512 13:19:16.466 DEBUG] - SCW: Link is disconnected [20170512 13:19:16.471 DEBUG] - Baud rate: 115200 Expected: 4 [20170512 13:19:16.538 FATAL] - Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) Aborted (core dumped)

OS: ubuntu 16.04

the latest commit of apm planner is
commit 38b21e1f0c4e9f4203f5a273aab4a57d1d3294ba
Author: Arne-W <wischmann-a@gmx.de>
Date: Wed Apr 26 12:24:25 2017 +0200

GraphView: Added preset feature. It is possible to store different graphing presets and reapply them to other graphs.

 * Loganalysis UI reorganized
 * Added menubar for export and preset features
 * Support for loading an saving preset files
 * Bugfix colorhandling for graphs now work
 * Added some tool tips to explain the features`

Strange - I am using Ubuntu 16.04 for developing and have never seen such an Error. But there are some other users that experineced this Problem… Until now I thought it was OS related but it seems that there is somthing suspicious.
I will try to reproduce but it would be cool if you could upload or send the core dump - perhaps it helps finding the culprit.
Which sort of graphic do you have? NVidia, AMD or Intel and which Color depth are you using?

I reboot my computer, restart apm planner, everything was OK…

Nice to hear - so it is solved :smiley: