This is in response to another thread.
To DL X-Star log files:
I haven't found any user for the post/preflight files. The log files are binary and are not readable with an editor, etc. There are two ways to view the log files.
X-Star Log Viewer
X-Star Log Viewer is available for Windows. See http://xstarlogs.com/ for details and to DL a copy. X-Star Log viewer will plot values and can generate KML files than can be used with Google Earth.
sdlog2_dump.py
sdlog2_dump.py is a Python script that can be used on Windows, Mac, and Linux. It's not hard to install Python on a PC but I won't cover that here.
Get sdlog2_dump.py here: Firmware/Tools/sdlog2 at master · PX4/Firmware · GitHub
I used it to extract lat/lon from 9/25 flights, then used GPS Visualizer to show the tracks:
To DL X-Star log files:
- Start everything up
- Go to "Fight Control Settings", then "Advanced Settings"
- Click on "Read" next to "Read Flight Data"
- Connect the X-Star to a computer using the micro-USB connector at the front of the X-Star
- Eventually the "NO NAME" volume will be mounted.
- Copy the log files to another disk- This is a slow transfer - The X-Star will beep continuously and flash red.
- You can turn off the remote and Starlink during the Xfer
- Power down the X-Star and Remove the USB cable
Code:
./SESS0174:
total 196896
-rwxrwxrwx 1 4250281 Oct 8 18:17 log001.bin
-rwxrwxrwx 1 96541795 Oct 8 18:37 log002.bin
-rwxrwxrwx 1 1639 Oct 8 18:17 postflight_perf001.txt
-rwxrwxrwx 1 1670 Oct 8 18:37 postflight_perf002.txt
-rwxrwxrwx 1 1631 Oct 8 18:17 preflight_perf001.txt
-rwxrwxrwx 1 1639 Oct 8 18:18 preflight_perf002.txt
./SESS0175:
total 166736
-rwxrwxrwx 1 85359735 Oct 9 22:19 log001.bin
-rwxrwxrwx 1 1667 Oct 9 22:19 postflight_perf001.txt
-rwxrwxrwx 1 1626 Oct 9 22:01 preflight_perf001.txt
./SESS0176:
total 107168
-rwxrwxrwx 1 54859728 Oct 9 23:15 log001.bin
-rwxrwxrwx 1 1661 Oct 9 23:15 postflight_perf001.txt
-rwxrwxrwx 1 1635 Oct 9 23:04 preflight_perf001.txt
I haven't found any user for the post/preflight files. The log files are binary and are not readable with an editor, etc. There are two ways to view the log files.
X-Star Log Viewer
X-Star Log Viewer is available for Windows. See http://xstarlogs.com/ for details and to DL a copy. X-Star Log viewer will plot values and can generate KML files than can be used with Google Earth.
sdlog2_dump.py
sdlog2_dump.py is a Python script that can be used on Windows, Mac, and Linux. It's not hard to install Python on a PC but I won't cover that here.
Get sdlog2_dump.py here: Firmware/Tools/sdlog2 at master · PX4/Firmware · GitHub
I used it to extract lat/lon from 9/25 flights, then used GPS Visualizer to show the tracks: