Flight Reporting

PX4 logs detailed aircraft performance data once the system has been armed until it is disarmed. These flight logs can also be used to analyze performance issues.

Keeping flight logs is a legal requirement in some jurisdictions.

Downloading Logs from the Flight Controller

Logs can be downloaded using QGroundControl (v3.2 or later): Analyze View > Log Download.

Flight Log Download

Analyzing the Logs

Upload the log file to the online Flight Review tool (http://logs.px4.io).

Log Analysis using Flight Review explains how to interpret the plots, and can help you to verify/reject the causes of common problems: excessive vibration, poor PID tuning, saturated controllers, imbalanced vehicles, GPS noise, etc.

Flight Log Analysis contains links to information about many other useful logging tools.

Sharing the Log Files for Review by PX4 Developers

After uploading a file to Flight Review, the log file link can be shared for discussion in the support forums or a Github issue.

Additional Configuration

The logging system is configured by default to collect sensible logs for use with Flight Review.

Logging may further be configured using the SD Logging parameters. The parameters you are most likely to change are listed below.

Parameter Description
SDLOG_MODE Logging Mode defines when logging starts and stops.
- 0: log when armed until disarm (default).
- 1: log from boot until disarm.
- 2: log from boot until shutdown.
SDLOG_PROFILE Logging profile. Use this to enable less common logging/analysis (e.g. for EKF2 replay, high rate logging for PID & filter tuning, thermal temperature calibration).
SDLOG_MISSION Create very small additional "Mission Log".
This log can not be used with Flight Review, but is useful when you need a small log for geotagging or regulatory compliance.

Developers can further configure what information is logged via the logger module (you would use this, for example, if you want to log your own topics). For more information see: Logging (PX4 Developer Guide).

© PX4 Dev Team. License: CC BY 4.0            Updated: 2020-12-05 04:49:10

results matching ""

    No results matching ""