Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
utc_time.h File Reference

Validate Gregorian UTC targets and qualify simulator time samples. More...

#include <array>
#include <charconv>
#include <cmath>
#include <cstdint>
#include <iomanip>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
Include dependency graph for utc_time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pangea_survey::UtcEvent
 One simulator event/value pair used to set the Zulu clock. More...
struct  pangea_survey::UtcDateTime
 A Gregorian UTC minute and its simulator clock-matching rules. More...

Namespaces

namespace  pangea_survey

Functions

UtcDateTime pangea_survey::parseUtcDateTime (std::string_view text)
 Parse a strict Gregorian UTC minute in YYYY-MM-DDTHH:MMZ form.
UtcDateTime pangea_survey::utcMinuteFromAbsoluteTime (double actual)
 Convert simulator calendar seconds to their containing UTC minute.
bool pangea_survey::captureUtcReady (const UtcDateTime &target, double actual, double readAgeSeconds, unsigned long long verifiedFrame, unsigned long long frame, bool pending)
 Decide whether simulator UTC is stable enough to admit a capture.
bool pangea_survey::captureUtcSampleValid (const UtcDateTime &target, double actual, long long read100ns, long long frame100ns)
 Validate that a frame's UTC readback is recent and in the locked second.

Detailed Description

Validate Gregorian UTC targets and qualify simulator time samples.

The UTC lock is based on repeated simulator clock writes and readback; it is deliberately not treated as the camera's shutter clock. Frame-age and monotonic timestamp checks prevent stale readbacks from being promoted into capture metadata.

Definition in file utc_time.h.