Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sys status for logging detection and remove erreonous zero length files #12

Closed
wants to merge 1 commit into from

Conversation

dakejahl
Copy link
Collaborator

  • Pending PR to query SysStatus flags to detect when the logger is running. Handles case where logger is running while drone is disarmed Added function to query SYS_STATUS present/enabled/health flags mavlink/MAVSDK#2383

  • In some cases a log with zero length can be created if the user kills the program before a download starts. Added logic in the upload_logs_thread function to remove zero length log files since the server will throw an error and we end up in an infinite loop.

… size log files before trying to upload. Adjust exit logic.
@dakejahl dakejahl closed this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant