Skip to content
All projects

Sensing

Data collection

Part 3 · Temperature, pressure, position and images — recorded, tagged and kept safe

Built 16–27 Sep · Sprint 2 · Led by Kevin Loi

What this part is

An inspection is only as good as what it records. This part is what the drone measures, how each measurement is labelled, and how it gets from the drone to the database without ever being lost. The recording and upload are built; what remains is making the drone record the same way at every inspection point, and labelling each reading with that point.

ID

User story

MVP / stretch

Owner

Estimate

Status

3.1

Temperature and pressure through every flight

MVP

Samuel

2 h

Built

3.2

Greyscale images from the camera

MVP

Samuel

2 h

Built

3.3

Data sent off the drone and stored safely

MVP

Samuel

2 h

Built

3.4

Capture at each inspection point

MVP

Kevin

16 h

Sprint 2

3.5

Every reading tagged with time and point

MVP

Samuel, Kevin

3 h + 6 h

Time built · point ID Sprint 2

Sensors, wired and read. (Stock photograph.)

The user stories

3.1 · Temperature and pressure through every flight

MVP · Built · Samuel · 2 h

As an inspector, I want temperature and pressure recorded at inspection points throughout every flight, so that I can see the conditions around each piece of equipment.

Tasks

  • Write raw and corrected temperature, pressure and position, ten times a second, to a file.

Done when

  • Every flight produces a file of timestamped temperature, pressure and position rows, with proper units.

The temperature sensor sits on a board that heats itself as it runs, so the raw reading is the board, not the room. A thermal correction separates the two — its constants are the previous team's tuned values — and both raw and corrected are stored. Distances are metres internally everywhere; the temperature is stored in the unit the operator chose, with the unit recorded in the row.

3.2 · Greyscale images from the drone's camera

MVP · Built · Samuel · 2 h

As an inspector, I want greyscale images of inspected equipment from the drone's camera, so that equipment can be checked visually.

Tasks

  • The AI deck camera sends 324×244 greyscale frames over Wi-Fi (about 3.7 a second); the frames are saved to disk and uploaded.

Done when

  • A session's frames are saved on the laptop and can be viewed later on the website.

About two frames a second are written to disk during a session, with an index of when each was taken, and uploaded to private storage afterwards. The website shows them per flight.

3.3 · Data sent off the drone and stored safely

MVP · Built · Samuel · 2 h

As an inspector, I want the collected data wirelessly sent off the drone to an external program during or immediately after flight, and then stored safely so that nothing is lost when a flight ends.

Tasks

  • Radio to laptop, file written first; then upload to the database, retrying until it succeeds.

Done when

  • Flight data appears on the website after the flight, even if the internet was down during it.

A local write cannot fail, and a flight cannot be re-run — so every reading is written to a file on the laptop before anything else. Records wait in an outbox that retries every 60 seconds; ids are made on the laptop and every write is an upsert, so a re-send after a dropped connection never creates a duplicate.

3.4 · Capture at each inspection point

MVP · Planned · Sprint 2 · Kevin · 16 h

As an inspector, I want the drone to capture images and readings while it holds at each inspection point, so that every piece of equipment is recorded the same way.

Tasks

  • Trigger a consistent capture of images and readings during the hold at each inspection point.

Done when

  • At least 10 frames and 5 seconds of readings are saved for every inspection point on the route.

How we will build it: the mission already holds at each waypoint for a set time. The capture opens with the hold and closes with it, and a point that comes back short is marked incomplete rather than silently accepted.

3.5 · Every reading tagged with its time and point

MVP · Time and position built · point ID Sprint 2 · Samuel, Kevin · 3 h + 6 h

As an inspector, I want every collected reading and image tagged with a timestamp and associated inspection point ID, so that I know exactly where and when it was taken.

Tasks

  • Record the timestamp and drone position with every reading (Samuel).

  • Add the inspection point's ID while the drone holds there (Kevin).

Done when

  • Every reading carries a timestamp and the drone's position.

  • Every reading captured at a point carries that point's unique ID.

Every row already carries the time and the drone's x, y and z. The point ID joins them once the capture window of 3.4 exists — the pipeline in Part 4 groups by it.

What is left

  • 3.4 and the point ID of 3.5, in Sprint 2 — the inputs Part 4's pipeline needs.

Source: our Project Management Planning document (PDF) — the user stories, owners, estimates and acceptance criteria are quoted from it.