Skip to main content

Module eggtimer

Module eggtimer 

Source
Expand description

An Eggtimer’s flight data, as the flight computer’s own download writes it: the Eggtimer Classic’s and TRS’s over a serial cable, the Quantum’s and Proton’s from their WiFi page.

The file is comma-separated text: one header row naming the columns, then one row per sample, every column on the row’s time. There is no preamble and the header states no units (a European locale’s spreadsheet may save it with semicolons, Cells below):

T,Alt,Veloc,FAlt,FVeloc,LDA,LowV,Apogee,N-O,Drogue,Main
0,0,0,0,0,0,0,0,0,0,0
0.05,4,80,0.8,16,0,0,0,0,0,0
0.1,9,100,2.44,32.8,0,0,0,0,0,0

Layouts. The first column is the time, T, and the second the barometric altitude, Alt. Then come the logger’s figures, which differ by model and firmware: a raw velocity, a filtered altitude and velocity (FAlt, Filt_Alt or KAlt, then FVeloc or KVeloc), and on the Proton the accelerometer’s figures. Last come the event markers, from LDA on. The Classic’s manual shows T,Alt,Veloc,KAlt,KVeloc,LDA,BurnT,LowV,Apogee,N-O,CHA,CHB (Eggtimer Flight Computer User’s Manual, firmware 1.52, board RevD, p37), the TRS’s T,Alt,Veloc,FAlt,FVeloc,LDA,LowV,Apogee,N-O,Drogue,Main (Eggtimer TRS Flight Computer User’s Manual, firmware 2.07, p37), and an older guide T, Alt, VRaw, VFilt (Using Excel to Graph Eggtimer Flight Data, p3). The project’s sample logs add a layout without the raw velocity (T,Alt,FAlt,FVeloc,…) and the Proton’s 22 columns, whose accelerometer columns are named AccelG, AccelFPSS, VAccel, AltAccel and filtered FAccel… where its manual writes Accel, AccelFPSS, VelocAcc and AltAcc (Eggtimer Proton User’s Guide, software 2.01C, p45). The Proton lets its owner name each deployment channel, up to 8 characters, and writes that name in the header (Proton p26; Eggtimer Proton Release Notes, version 2.01C, p2), so a marker column may carry any name.

A file is this layout if its first line that isn’t blank is comma-separated, or semicolon-separated if it holds a semicolon, names T then Alt, and names at least one more column this reader knows (the table below). That keeps out a PerfectFlite export (Time,Altitude,…) and an RRC3’s (Time,Altitude,Pressure,…).

Units. The header states none. Each column, what it is read as, and where that comes from:

ColumnRead asFrom
Tthe clock: seconds, or milliseconds when the step says so (below)the Classic’s and TRS’s manuals (p37) and the Excel guide (p3): milliseconds; the Quantum’s (Eggtimer Quantum User’s Guide, software 1.09G, p38) and Proton’s (p45): seconds
AltQuantity::AltitudeAboveGround, ftthe Classic and TRS manuals (p37) state feet; the Quantum and Proton manuals state no unit for the download, but give every height in feet (Quantum p24: launch detect “50’-500’”), and no Eggtimer manual offers meters
FAlt, Filt_Alt, KAltQuantity::AltitudeAboveGround, ft: the logger’s filtered AltQuantum p38, Proton p45; Classic p37 (“the two K fields are filtered data”)
Veloc, VRawQuantity::Speed, ft/s: the change in Alt over the stepClassic and TRS p37 (“velocity in ft/sec”); Quantum p38, Proton p45; checked against Alt (below)
FVeloc, KVeloc, VFiltQuantity::Speed, ft/s: the change in the filtered altitude over the stepQuantum p38, Proton p46; the Excel guide (p3, p7: “Velocity in ft/sec”); checked against the filtered altitude (below)
AccelQuantity::Acceleration, g × 9.806 65 m/s² (standard gravity)Proton p45 (“in G’s”)
AccelG, FAccelGQuantity::Acceleration, g × 9.806 65 m/s²the name; Proton p45
AccelFPSS, FAccelFPSSQuantity::Acceleration, ft/s²Proton p45 (“ft/sec^2”); the name
VAccel, VelocAcc, FAccelVelQuantity::Speed, ft/s, from the accelerometerProton p45 (“the velocity derived from the accelerometer in ft/sec”)
AltAccel, AltAcc, FAccelAltQuantity::InertialAltitude, ftProton p45 (“the DISTANCE TRAVELED derived from the accelerometer in ft.”)
LDA, LowV, Apogee, N-O, Drogue, Main, AUX, BurnT, CHA, CHB, CH1…, MaxV, MaxA, Boost#1…, BO#1…, and any column after LDAQuantity::Unrecognized, as written: an event marker (below)Quantum p38–39, Proton p46

No Eggtimer manual offers a unit other than feet: the Classic’s, TRS’s, Quantum’s and Proton’s manuals and release notes name no meter or metric setting. Each column whose name doesn’t state its unit gets a note on the record saying how it was read, once per name.

Speeds checked. A speed is read in feet per second only if the rows bear out that it is its altitude’s change over the step: Veloc and VRaw of Alt, FVeloc, KVeloc and VFilt of the first filtered altitude, within 1 % or 1 ft/s, on at least 90 % of the rows after the first. A speed that falls short is kept as written, Quantity::Unrecognized, with a note; a file of one row, or a filtered speed with no filtered altitude, has nothing to check, and is read as the manual says. As of 2026-10-12, over the 43 Eggtimer files among the project’s sample logs, the least share is 95.9 %, and with the clock read in the wrong unit, a factor of 1,000 off, at most 9.5 %: the check also guards the time’s unit (below).

Filtered altitudes checked. A filtered altitude must scale to Alt as a filter of it can: the one multiplier that best takes Alt to it, with no offset (a least-squares fit through zero), must lie from 0.1 to 2. A filter lags the altitude, under it on the way up and over it on the way down; on a steady climb at v ft/s to H ft, a lag of τ s moves the multiplier by about 1.5 v τ / H, while a lost decimal place writes a value 10 times over. A file whose filtered altitude lies outside is refused (LogError::Unit): its numbers can’t be trusted, the clock’s among them, as a seconds clock written without its decimal point reads as milliseconds. As of 2026-10-15, over the 44 Eggtimer files the project’s sample logs read, every one with a filtered altitude, the multiplier lies from 0.900 to 1.000; a 45th, whose decimal points a spreadsheet took out (12.34 written 1234), gives 99.9 and is refused.

The accelerometer. As of 2026-10-12, in the 4 of those files with an accelerometer, AccelFPSS is about 32 times AccelG (32.17 ft/s² is one g), VAccel tracks the sum of AccelFPSS over the steps, and AccelG’s median before the start of flight (T below 0) is 0 to 0.2 g. Standing on the pad, an accelerometer that keeps gravity reads 1 g, so the Proton’s acceleration has gravity taken out. Its manual doesn’t say so; its release notes have it calibrate the accelerometer as it is armed, standing up (2.01C, p8). A note on the record says whether this file’s acceleration holds gravity, from its own pad reading: taken out below 0.5 g, held within 0.5 g of 1 g, not known otherwise or with no rows before the start of flight. The values are kept as written either way. The F-prefixed accelerometer columns are read as their unfiltered namesakes, as FAlt is Alt filtered: no manual describes them.

The time’s unit. The Classic’s and TRS’s downloads, and the older guide’s, write T in milliseconds; the Quantum’s and Proton’s in seconds; and the sample logs hold eleven-column files in both. The logger takes 4 to 33 samples a second going up and 1 to 10 coming down (Classic p19–20; Quantum p25), so a step between rows is 0.03 to 1 in seconds and 30 to 1,000 in milliseconds. The reader takes the median step between rows: above 5, a factor of 5 clear of either range, T is in milliseconds; otherwise in seconds. In the CSV download, a median step above 1 and below 30 is neither, and the file is refused (LogError::Unit): a seconds clock whose decimal points were taken out writes 0.05 as 5. (The terminal download’s coast settles its clock instead, below.) A file of one row has no step, and is read in seconds. A note on the record says which, and why. The terminal download’s table checks this, and its altitudes’ feet, against the coast too (below).

Event markers. The manuals put the markers last, from LDA on: each is 0 at every sample but the one that triggers its event, where the Quantum’s and Proton’s manuals say it holds “the RAW altitude data”, in feet (Quantum p38; Proton p46). MaxV and MaxA hold the top speed and acceleration instead, ft/s and ft/s² (Eggtimer Proton Release Notes, version 1.02N, p13: “now referenced to the actual value”); in the sample logs they are the whole part of VAccel and AccelFPSS on their row. A marker may also be held from its event to the end of the file, as 3 marker columns among the 43 sample files are (as of 2026-10-12). Each marker column is kept as a channel as written, Quantity::Unrecognized: its 0 means “no event”, not 0 ft, so converting it as a height would mislead. One note on the record lists them. Each run of non-zero samples is an Event named as the column (a name past 80 characters cut short, as a note quotes it), at the run’s first sample, up to MAX_EVENTS_PER_MARKER a column; past that, the rises are counted in a note. An event that happened at a raw altitude of exactly 0 ft can’t be told from no event, and is lost. A column after LDA whose name this reader doesn’t know, such as a Proton channel’s own name, is read as a marker, with a note.

The primary track. FlightLog::altitude_m is Alt, the barometer’s raw altitude above the logger’s zero. The vertical speed is Veloc (or VRaw), the barometer’s; without it, or with it kept as written because its check failed, the filtered FVeloc (or KVeloc, VFilt), also the barometer’s, with a note. VAccel is the accelerometer’s, a channel only. The file names no model, serial number or flight, so the logger reads Eggtimer.

Cells. Lines end in CR, LF, CR LF or CR CR LF (a blank line after every row, which is skipped). A semicolon-separated file, as a European locale’s spreadsheet saves the download, may write its numbers with a decimal comma: the mark is settled once for the file, a comma only if no number is written with a point and one is written with a comma before other than three digits, and a cell in the other mark is no number, so a thousands separator is never read as a decimal mark. A note says which. A row whose every cell is empty, as some downloads end with hundreds of, is skipped and counted in a note. An empty cell, or a row shorter than the header, leaves a gap, NaN, counted per column in a note. A cell that isn’t a number, a row longer than the header, an empty time, and a time that doesn’t increase are refused, naming the line. A column this reader doesn’t know, before LDA, is kept as written, Quantity::Unrecognized, with a note.

Where this comes from. The layouts and units are the manuals’ above; the time-unit rule, the blank-row rule and the column names they don’t show are the sample logs’. Debrief’s reader (lib/parsers/eggtimer.ts, MIT, the project owner’s own) also tells milliseconds from seconds by the median step, over the first 60 rows with its line at 3. Where this reader departs from it: it keeps every column and reads the markers as events, where Debrief maps the time, the altitude and one velocity; it takes the raw Veloc as the vertical speed where Debrief prefers the filtered one; it reads the layouts without Veloc, which Debrief doesn’t recognize; and it refuses what Debrief passes over, naming the line. Debrief’s note that the logger can be set to metric units cites no source, and none of the manuals above offers such a setting.

The terminal download. A TRS’s flight can also be downloaded in a terminal program, which prints three parts: the flight settings, the summary data (“apogee, length of flight, maximum velocity, etc.”) and the detail data, the table above (Eggtimer TRS Flight Computer User’s Manual, firmware 2.07, p35). The manual shows the first two over a page (p36) and the table after them (p37); the file the terminal captures holds all three, as LogFormat::EggtimerText:

Flight Summary:
Eggtimer TRS 2.07    Flight Settings
...Drogue <1=Normal,2=Backup,0=OFF>...1
...Main Altitude <50-2000 by 50, 0=OFF>...600
...Frequency (Ctrl-F to change)...915
...ID Code...3
...MY EGGTIMER
ASL Alt.: 1200 ft
Base Temp: 70.0 F
Apogee: 1500 ft
T @ Apogee: 9.500
Max Velocity: 400 ft/sec
T @ Max Velocity: 1.300
Altitude @ Main Deploy: 590 ft
T @ Main Deploy: 40.000
T,Alt,Veloc,Filt_Alt,FVeloc,LDA,LowV,Apogee,N-O,Drogue,Main
0,0,0.00,0.00,0.00,0,0,0,0,0,0

Firmware 2.10 writes Main Alt, Freq, Max Veloc, Alt @ … and T @ Drogue where 2.07 writes Main Altitude, Frequency, Max Velocity, Altitude @ … and T @ Drogue Deploy.

A file is this layout if a title, a line Eggtimer <model> <firmware> ending in Flight Settings (or followed by a line Flight Settings, as the manual’s example prints it, p36), comes before an Eggtimer header row, both within the first MAX_PREAMBLE_LINES lines that aren’t blank. A Flight Summary: heading may come before the title; any other line there is counted in a note. The CSV download opens with its header row, so it is never this layout.

What the reader keeps:

  • The table, read as read reads the CSV download, every rule above the same, but for its clock and its altitudes, each settled by two checks that agree (ADR-258 §2), the coast’s below; an error names the file’s line.
  • The title: the logger, such as Eggtimer TRS, and its last word, if it starts with a digit, as the firmware.
  • The flight settings, the lines ...<setting>...<value>, listed as written in one note. A settings line with no value is the name the owner gave the flight computer (the manual’s settings screen shows MY EGGTIMER, p24): free text that may name a person, it is left out of the record and only counted.
  • ASL Alt., “the measured ASL altitude of the launch site” (p36), as Stated::ground_elevation_msl_m, and Apogee as Stated::apogee_m: each read by its unit mark, ft (or m), with a note; without one it is kept as written. In both sample files the stated apogee is the table’s highest Alt, so it is above the logger’s zero.
  • The summary’s times, T @ … and Time @ LDA, as Events, in seconds: the manual’s download writes them in secs. and its LDA at 0.700 secs. is “700ms into the flight” (p36, p37); the sample files leave the mark out. A time that is its marker’s event in the table, within half a millisecond, is that event, kept once: Apogee is Apogee’s, LDA LDA’s, Unlock LowV’s (the end of the Mach lockout, p37), N-O and Nose-Over N-O’s, Drogue and Drogue Deploy Drogue’s, Main and Main Deploy Main’s. As of 2026-10-13, in both sample files, every such time is its marker’s to the millisecond. Any other time, such as T @ Max Velocity, or one that differs from its marker’s, is an event of its own named as the summary names it, a difference noted. A time of 0 is no event: the manual writes zeroes for a channel that didn’t fire (p25). Nor is a time past the table’s last: no event of the flight comes after its last sample, so such a time isn’t in seconds, and it is kept as written in a note rather than read in another unit on one check. The events are in time order, the table’s first where two share a time.
  • The other summary lines, listed as written in one note: the base temperature with its unit mark (F in the sample files, C in the manual’s example), the flight time, the beep code, the top speed and acceleration, and the heights at each event; Last Flight Phase with its meaning, from the manual’s codes (p37).

Each note lists at most 40 lines, the rest counted. The summary’s figures beside the table’s are the logger’s own and are never put in place of HPR Sim’s readings.

The coast check. The terminal download’s clock and altitudes rest on two checks each, not one (ADR-258 §2): T on its step (above) and the coast, Alt and its filtered FAlt (Filt_Alt, KAlt) on the manuals’ feet (above) and the coast. In the coast just before the top nothing pushes the rocket and, as it slows, its drag fades: its altitude curves down at gravity, 32.17 ft/s² in feet and seconds, 9.81 m/s² in meters. The reader fits a parabola, by least squares, to each altitude over the 3 s up to the window’s end (each row the median of the 5 rows about it within the window, so that a spike of one or two rows is passed over), and reads its curvature as a share of standard gravity:

  • The window ends at Alt’s top: the highest median of 5 rows, then the highest row among those 5. A charge marked at or before the top ends it at the row before: Apogee, N-O, a deployment channel (Drogue, Main, AUX, CHA, CHB, CH1…) or a column the reader doesn’t know; an Eggtimer can fire one on the way up, and its canopy’s drag would add to gravity. Then a jump in the 4 s before the end, a row more than half the window’s rise from its median (an ejection’s pressure), or a motor’s marker there (BurnT, BO#…, Boost#…), ends it at the row before, again until neither is left. LDA, LowV, MaxV and MaxA change nothing on the rocket.
  • The coast must hold 6 rows with an altitude (the manuals’ slowest climb, 4 samples a second, puts 12 in 3 s), the table must reach back the whole 3 s, the altitude must rise over them, and the parabola must turn down and top out within 1 s of the window’s end, so that the window is the slow end of the coast, where a rocket’s own drag is a few hundredths of a g.
  • A slowing of 0.7 to 1.3 g bears a unit out: drag near the top is small, and feet and meters are 3.28 apart, so at most one is within it. A clock 1,000 times off puts the slowing 10⁶ times off.

T is read in the step’s unit when Alt slows at 0.7 to 1.3 g in feet or in meters on that clock; otherwise, or with no coast to fit, the file is refused (LogError::Unit): nothing in it would have a time. Alt is read in feet when it slows at 0.7 to 1.3 g in feet; otherwise it is kept as written, Quantity::Unrecognized, the record holding no barometric altitude, and so is each speed that is its change. Each filtered altitude is fitted over the same window and read in feet, or kept as written with its speed, the same way. A note on the record says which, with the window and the slowing.

What can’t be seen: a canopy this Eggtimer didn’t fire, out within 4 s of the window’s end with no jump. One out longer before the top is no matter: a canopy whose drag grows as the speed squared, g (v / v_t)² for a descent rate v_t, stops a rising rocket within (v_t / g) π/2, so one out more than 4 s before has v_t over 8g/π and slows the 3 s up to the top by at most v_t tan(3g / v_t) / 3 s, 2.05 g, which reads 0.62 g in feet, short of the band. As of 2026-10-13, in the 3 terminal downloads among the project’s sample logs (two text files, one RTF), Alt slows at 0.96 to 1.02 g in feet and the filtered altitudes at 1.01 to 1.04 g; one window ends at the row before the Apogee marker, one before a jump and one at the top.

The download saved as RTF. A terminal capture pasted into a text editor and saved as an RTF document is the same text wrapped in RTF’s markup, LogFormat::EggtimerRtf. The reader unwraps it, not parses it (ADR-258 §4): it keeps the document’s plain text, by a small subset of the RTF specification (read_rtf lists it), and reads that as the terminal download above, an error naming the document’s line. As of 2026-10-13, of the three sample files filed as RTF, one is such a document, written by a Mac’s text editor, a line of text a line of the file, and holding four downloads one after another: the first is read and the others counted in a note. The other two hold no Eggtimer download and are refused by name. Its downloads’ firmware writes most summary times without the TRS manual’s spacing (T@Apogee), so they are kept as written; the one with it lies far past the table’s last sample, so it can’t be in seconds, and it is kept as written too, never an event.

Constants§

MAX_EVENTS_PER_MARKER
The most events one marker column gives; past it, the column’s rises are counted in a note instead. A marker marks one event of the flight (Quantum p38, Proton p46): as of 2026-10-12, no marker column among the 43 Eggtimer files in the project’s sample logs rises more than once. The cap keeps a file whose marker flips on every row from filling the record with events.
MAX_PREAMBLE_LINES
The most lines that aren’t blank the reader looks through for the title and the table’s header row. The manual’s download (TRS p36) and the sample logs’ put about 30 before the header.
MAX_RTF_DEPTH
The deepest an RTF document’s groups may nest. Word processors nest a few levels, a style or a table a few more; a document deeper than this is refused rather than tracked.

Functions§

read
Reads an Eggtimer’s flight data from its text.
read_rtf
Reads an Eggtimer TRS’s terminal download saved inside an RTF document, as a text editor saves what a terminal program captured: the document’s plain text, unwrapped from its markup, read as read_text reads a terminal download (ADR-258 §4).
read_text
Reads an Eggtimer TRS’s flight from its terminal download: the flight settings and the flight summary, then the table the CSV download writes, read as read reads it.