https://github.com/ecmnet/mavgcl
In-Flight Analysis for PX4
https://github.com/ecmnet/mavgcl
autopilot drone ground-station javafx-application mavlink pixhawk px4 quadrotor uas uav ulog
Last synced: 14 days ago
JSON representation
In-Flight Analysis for PX4
- Host: GitHub
- URL: https://github.com/ecmnet/mavgcl
- Owner: ecmnet
- Created: 2016-02-05T09:52:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-25T06:40:43.000Z (2 months ago)
- Last Synced: 2025-04-04T02:06:46.267Z (23 days ago)
- Topics: autopilot, drone, ground-station, javafx-application, mavlink, pixhawk, px4, quadrotor, uas, uav, ulog
- Language: Java
- Homepage:
- Size: 780 MB
- Stars: 187
- Watchers: 11
- Forks: 70
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MAVGAnalysis
## In-Flight/PX4Log/ULog Analyzer for PX4
[](https://travis-ci.org/ecmnet/MAVGCL) [](https://ci.appveyor.com/project/ecmnet/mavgcl) 
This JavaFx based tool enables PX4 Users to record and analyse data published via UDP during flight or offline based on PX4Logs or ULogs. It is not intended to replace the QGC. It is not tested with ardupilot.
Any feedback, comments and contributions are very welcome.
**Development Status:** Last updated 24/01/23
- Auto loading of custom keyfigure definition files from a dedicated directory at startup
- Autosave into result directory requests and saves DMESG output
- Multiple videostreams
- Videostream replay (if video found in result directory)
- 3D View reworkedNote: 3D map data can be transferred to MAVGCL using the custom MAVLink message [msg_msp_micro_grid](https://github.com/ecmnet/mavcom/blob/af3a826866d977b898170547d15e1ad334899682/mavcom/mavlink/lquac.xml#L231) - for encoding refer to [MAP3DSpacialInfo.java](https://github.com/ecmnet/mavmap/blob/aa739520e2de797cad3ba71da01f041c87445557/mavmap/src/main/java/com/comino/mavmap/map/map3D/Map3DSpacialInfo.java#L84)
See MAVGCL some action:
- 3D View: https://youtu.be/9CRZ7D_caTo (2023)
- Video replay: (2022)
- XY View: (2018)**Features:**
- Realtime data acquisition (20ms sampling, 100ms rolling display) based on MAVLink messages or ULOG data over MAVLink
- Timechart annotated by messages (MAVLink and ULog) and parameter changes (MAVLink only)
- XY Analysis for selected key-figures
- FFT for selected keyfigures
- 3D View (vehicle and observer perspective)
- MAVLink inspector (reporting raw MAVlink messages)
- Zooming (Click&Drag), pause / continue rolling update while continue recording in the background
- MAVLinkShell provides NutShell over MAVLink (Console)
- Map viewer of global/local position and raw gps data with option to record path (cached)
- Offline-mode: Import of key-figures from ULog (file or last log from device via WiFi)
- Save and load of collected data
- Key figure conversion based on expressions
- FrSky Taranis USB supported in SITL
- PS4Controller support in OSX
- Low latency MJPEG based video stream display based on [uv4l](http://www.linux-projects.org) or any other source
- Video stream recorded as H264/MP4 file while collecting data
- Virtual (calculated) key figures added (Example here: [default definition file](https://github.com/ecmnet/MAVGCL/blob/master/MAVGCL/src/com/comino/flight/model/AnalysisDataModelMetaData.xml#L1000))
- RTCM3 base supported with automatic survey-in for UBlox devices (OS X only)**Note** that some features (MSP) are only available if you run a companion on your vehicle using MAVComm .
**Requirements:**
- requires minimum **Java 11** JRE
- A companion running a serial-to-udp-proxy (either MAVComm or MAVROS, not required for PIXRacer)
- Video streaming from the vehicle requires an rtps mjpeg streaming service running on companionNote: maven building currently requires local mavcom, mavmap, mavbase and mavutils in local repository
**Binaries:**
Available binaries can be found [here](https://github.com/ecmnet/MAVGCL/releases).
Screenshots (Light Theme):




Screenshot (Dark Theme):

**How to define custom key-figure metadata files:**
- Refer to [example file](https://github.com/ecmnet/MAVGCL/blob/master/MAVGCL/ExampleKeyfigureMetaData.xml) or [default definition file](https://github.com/ecmnet/MAVGCL/blob/master/MAVGCL/src/com/comino/flight/model/AnalysisDataModelMetaData.xml#L515)
- Conversion based on expressions ( [exp4j](http://www.objecthunter.net/exp4j/#Built-in_functions) ).
Example: ``**Limitations:**
- Limited to one device (MAVLink-ID '1')
- Default PX4Log/ULog keyfigure mapping still not [complete](https://github.com/ecmnet/MAVGCL/blob/master/MAVGCL/src/com/comino/flight/model/AnalysisDataModelMetaData.xml), but you can add your own definition file**Note for developers:**
MAVGAnalysis depends on https://github.com/ecmnet/mavcom for MAVLink parsing.
Please note the [License terms](https://github.com/ecmnet/MAVGCL/blob/master/MAVGCL/LICENSE.md).