C# Class MissionPlanner.Log.PX4BinaryLog

Convert a binary log to an ascii log
Afficher le fichier Open project: Dronacharya-Org/Dronacharya

Méthodes publiques

Méthode Description
ConvertBinaryToText ( string binaryFileName, string outputFileName ) : void
GenerateLogEntryClass ( LogEntryFMT fmt, TextWriter writer ) : void
GenerateLogEntryParser ( TextWriter writer ) : void
GetFormats ( ) : IEnumerable
ReadMessage ( Stream br ) : string
ReadMessageObjects ( Stream br ) : object
ReadMessageTypeOffset ( Stream br ) : long>.Tuple
logEntryFMT ( byte packettype, Stream br ) : void

Private Methods

Méthode Description
GetModesList ( ) : string>>.List
ProcessMessage ( byte message, string name, string format ) : string

Convert to ascii based on the existing format message

ReadLogFormat ( Stream br ) : LogEntryFMT
ReadRow ( byte packettype, Stream br ) : object
logEntry ( byte packettype, Stream br ) : string

Process each log entry

Method Details

ConvertBinaryToText() public méthode

public ConvertBinaryToText ( string binaryFileName, string outputFileName ) : void
binaryFileName string
outputFileName string
Résultat void

GenerateLogEntryClass() public méthode

public GenerateLogEntryClass ( LogEntryFMT fmt, TextWriter writer ) : void
fmt LogViewer.Utilities.LogEntryFMT
writer System.IO.TextWriter
Résultat void

GenerateLogEntryParser() public méthode

public GenerateLogEntryParser ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

GetFormats() public méthode

public GetFormats ( ) : IEnumerable
Résultat IEnumerable

ReadMessage() public méthode

public ReadMessage ( Stream br ) : string
br Stream
Résultat string

ReadMessageObjects() public méthode

public ReadMessageObjects ( Stream br ) : object
br Stream
Résultat object

ReadMessageTypeOffset() public méthode

public ReadMessageTypeOffset ( Stream br ) : long>.Tuple
br Stream
Résultat long>.Tuple

logEntryFMT() public méthode

public logEntryFMT ( byte packettype, Stream br ) : void
packettype byte
br Stream
Résultat void