Skip to content

841 convert log bin files#842

Merged
1Blademaster merged 22 commits into
mainfrom
841-convert-log-bin-files
Nov 16, 2025
Merged

841 convert log bin files#842
1Blademaster merged 22 commits into
mainfrom
841-convert-log-bin-files

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings November 8, 2025 15:42
@1Blademaster 1Blademaster linked an issue Nov 8, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for parsing binary dataflash (.bin) log files by integrating a dataflash parser and refactoring the type system to be more consistent across different log formats.

  • Adds binary (.bin) file format support alongside existing text-based (.log) dataflash logs
  • Refactors type definitions into a centralized types file for better maintainability
  • Updates the log parsing pipeline to handle different file extensions and formats

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
gcs/src/components/fla/SelectFlightLog.jsx Adds "bin" extension to the file picker for selecting binary dataflash logs
gcs/src/components/fla/constants.js Removes unused constants (ignoredMessages and ignoredKeys) that have been relocated
gcs/electron/types/flaTypes.ts Introduces centralized type definitions for FLA including MessageObject, FormatMessage, LogType, and other interfaces
gcs/electron/utils/flaUtils.ts Moves type definitions to shared types file, relocates ignored message/key constants, removes unused unit caching functions, and adds file extension utility
gcs/electron/utils/dataflashParser.js Adds complete binary dataflash parser based on external library for parsing .bin files
gcs/electron/utils/dataflashParserUtils.js Adds utility functions to transform parser output into the expected format
gcs/electron/fla.ts Refactors to support multiple log types, updates type references, adds bin file parsing logic, and converts unit/multiplier strings to arrays

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gcs/electron/utils/dataflashParserUtils.js Outdated
Comment thread gcs/electron/fla.ts Outdated
Comment thread gcs/electron/utils/dataflashParserUtils.js Outdated
Comment thread gcs/electron/fla.ts Outdated
Comment thread gcs/electron/fla.ts Outdated
Comment thread gcs/electron/utils/dataflashParserUtils.js Outdated
Comment thread gcs/electron/utils/dataflashParserUtils.js Outdated
Comment thread gcs/electron/utils/dataflashParserUtils.js Outdated
Comment thread gcs/electron/fla.ts Outdated
@1Blademaster 1Blademaster requested a review from Copilot November 8, 2025 16:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gcs/electron/utils/dataflashParser.js Outdated
Comment thread gcs/electron/fla.ts
Comment thread gcs/tsconfig.json Outdated
Comment thread gcs/electron/utils/dataflashParserUtils.ts
Comment thread gcs/electron/fla.ts Outdated
Comment thread gcs/electron/utils/dataflashParser.js
Comment thread gcs/electron/fla.ts Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gcs/src/components/fla/graph.jsx Outdated
Comment thread gcs/src/components/fla/graph.jsx Outdated
@1Blademaster 1Blademaster requested a review from a team November 16, 2025 14:51
Copy link
Copy Markdown
Contributor

@Kwash67 Kwash67 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good

@1Blademaster 1Blademaster merged commit 9b0f2e5 into main Nov 16, 2025
6 checks passed
@1Blademaster 1Blademaster deleted the 841-convert-log-bin-files branch November 16, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert log bin files

3 participants