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
route.h File Reference

Parse capture-route settings and evaluate the simulated flight path. More...

#include "utc_time.h"
#include "image_framing.h"
#include "camera_optics.h"
#include <algorithm>
#include <cmath>
#include <filesystem>
#include <fstream>
#include <map>
#include <optional>
#include <sstream>
#include <stdexcept>
#include <string>
Include dependency graph for route.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::Point
 Geographic route point; latitude/longitude are degrees and AGL is metres. More...
struct  pangea_survey::Config
 Validated camera, route, simulator-startup, and output settings. More...
class  pangea_survey::CameraAltitude
 Apply the route's chosen terrain-following or fixed-start altitude policy. More...
class  pangea_survey::Route
 Evaluate a back-and-forth route at elapsed time. More...

Namespaces

namespace  pangea_survey

Functions

std::string pangea_survey::trim (const std::string &text)
 Strip the ASCII whitespace allowed around route INI tokens.
double pangea_survey::number (const std::string &text, const std::string &name)
 Read a complete finite numeric route field.
void pangea_survey::range (double value, double minimum, double maximum, const std::string &name)
 Enforce the inclusive policy bounds for a parsed setting.
void pangea_survey::validateIvyAddress (const std::string &address)
 Validate the syntax of an Ivy IPv4 bus endpoint.
double pangea_survey::longitudeDelta (double start, double end)
 Compute the shortest signed longitude change across the antimeridian.
double pangea_survey::distance (const Point &a, const Point &b)
 Estimate surface distance between two route points.
Config pangea_survey::parseConfig (std::istream &input, const std::filesystem::path &base)
 Parse and validate a route INI stream relative to a base directory.
Config pangea_survey::loadConfig (const std::filesystem::path &path)
 Open and parse a route configuration file.

Variables

constexpr double pangea_survey::pi = 3.14159265358979323846
constexpr double pangea_survey::earthRadius = 6371008.8

Detailed Description

Parse capture-route settings and evaluate the simulated flight path.

Route interpolation is deliberately simple and deterministic: the capture generator needs repeatable positions and altitude policy, not a navigation controller. Terrain-relative and start-locked altitude are kept separate because changing the reference mid-session would corrupt map scale.

Definition in file route.h.