Data & Software Backup
Flight Logs
Computer
- Copy the ROS bags and terminal logs from autonomous missions from the onboard computer to a local machine:
scp -r <user>@<onboard_computer_ip>:~/flight_logs/ <local_machine_path>
- Upload the flight logs to
Flight Logs/computer/<session_name>/in the project's Google Drive folder.
PX4
- Open QGroundControl and connect to the Pixhawk (either via USB or telemetry).
- Go to Analyze Tools → Onboard Logs and select the desired flight session.
- Click Download to save the
.ulglog file to your local machine. - Check the downloaded
.ulgfile by uploading it to PX4 Flight Review to ensure it is valid and complete. - Upload the
.ulglog files toFlight Logs/px4/in the project's Google Drive folder. - Clean up the Pixhawk by clicking Erase All in the Analyze Tools → Onboard Logs menu to free up space for future flights.
Flight Session Cleanup
- Delete the ROS bag and terminal log folders.
- Sort the final
example_sessioninto subfolders depending on the functionality (i.e.outdoor/ordevelopment/), matching how it was recorded. - Upload the sorted session folders to
Firmware Backup/Sessions/in the project's Google Drive folder.
PX4 Parameters
- Open QGroundControl and connect to the Pixhawk (either via USB or telemetry).
- Go to Vehicle Setup → Parameters → Tools → Save to file, and export as
px4.params. - Upload
px4.paramstoFirmware Backup/Pixhawk/in Google Drive.
Docker Image Backup
Save the onboard companion computer's Docker image so the software stack can be restored without rebuilding it.
- List running/available images to identify the one used in production:
docker images
- Save and compress the image in one step [web:6][web:8]:
docker save <image_name>:<tag> | gzip > docker_image.tar.gz
- Upload
docker_image.tar.gztoFirmware Backup/Sessions/in Google Drive (alongside the session folders, as shown in the final structure).
Restoring the Docker image
gunzip -c docker_image.tar.gz | docker load