PI2 — High-Rate Flight Data Recorder (Level 2: Repeatability & Measurement)

Mission Goal

Build a flight-style data recorder that samples data at a defined rate, writes to a CSV log file, and produces repeatable runs with consistent filenames and headers.

Why This Matters

Professional missions rely on structured logs. Repeatability turns “cool demo” into “usable system.”

What Data You Collect

Hardware / Software Needed

Inputs From Other Teams

What You Must Produce (Deliverables)

Step-by-Step Build

  1. Choose a sampling rate (e.g., 10 Hz or 20 Hz).
  2. Implement a run ID (timestamp-based) and filename pattern:
    • pi2_run_YYYYMMDD_HHMMSS.csv
  3. Write CSV header row once at file start.
  4. Log each sample with:
    • sample_index, time, sensor fields
  5. Run for a fixed duration (e.g., 60 seconds), then stop cleanly and close file.
  6. Repeat 3 times, keeping conditions similar.
  7. Compute observed rate: samples recorded / seconds elapsed.

Data Format / Output

Recommended CSV columns:

Analysis Ideas

Success Criteria

Evidence Checklist

Safety & Privacy

Common Failure Modes

Stretch Goals

Scaffolding Example (optional)

You are allowed to reuse structures and formats from other teams — but not their decisions.

Example: “Test Pilot Monitor” with Pi sensor

  • Read one sensor value repeatedly (temp/light/IMU if available).
  • Trigger an alert when value crosses a threshold.
  • Save CSV: time,value,alert

Example test

  • Run 3 trials (quiet / medium / high stimulus) and compare CSV rows.