We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a14d9 commit 92fbcc3Copy full SHA for 92fbcc3
src/libs/mavlink.js
@@ -20223,6 +20223,8 @@ MAVLink20Processor.prototype.trimFile = function (start, end) {
20223
// The 8 bytes preceding the mavlink message are actually a very useful timestamp saved by the GCS!
20224
let slice = this.buf.slice(offsets[0]-8, offsets[0])
20225
let timestamp = new Uint64BE(slice)/1000 - this.startTime
20226
+ // arbitrary huge number we'll cap our results at to cope with corrupt timestamps
20227
+ if (timestamp > 21796250065390) continue
20228
if (timestamp > start && startOffset === null)
20229
{
20230
startOffset = offsets[0]
0 commit comments