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
pangea_survey::Config Struct Reference

Validated camera, route, simulator-startup, and output settings. More...

#include <route.h>

Collaboration diagram for pangea_survey::Config:

Public Member Functions

bool timedPhotoDue (double elapsed, double nextPhoto) const
 Check whether an enabled timed capture has reached its deadline.
double cameraFov () const
 Compute field of view at the selected map-camera height.
double cameraAgl (double nominalAgl) const
 Resolve the camera's height above ground.
bool piCamera () const
 Check for the calibrated Raspberry Pi AI camera optics path.
double viewportFov (int width, int height) const
 Choose the simulator viewport field of view.

Data Fields

Point start
Point end
double speed = 20
double interval = 4
double settle = 10
double fov = 60
std::string lensProfile = "simconnect"
LensEffects lens
CameraExifSettings exifSettings
int grab = 2
double tileSettle = 0.05
double tileOverlap = 0.15
bool captureMargin = false
double mapCameraAgl = 0
int captureInset = 0
unsigned long quality = 92
int jpegWidth = 2028
int jpegHeight = 1520
bool lockStartAltitude = true
bool ivyEnabled = false
std::string ivyAddress = "127.255.255.255:2010"
int ivyAircraftId = -1
std::filesystem::path output
std::string startupFlight = "auto"
std::string startupAirport = "EHRD"
bool autoEnterFlight = true
bool startupMaximizeMinimized = true
double startupTimeout = 0
std::optional< UtcDateTime > startupUtc
std::string weatherPreset = "unchanged"
std::filesystem::path weatherReadback
std::filesystem::path iniDirectory

Detailed Description

Validated camera, route, simulator-startup, and output settings.

fov is vertical degrees; positions are WGS-84 and altitudes are metres. Startup weather/time readback and capture timing remain provenance, not a sensor exposure clock.

Definition at line 60 of file route.h.

Member Function Documentation

◆ cameraAgl()

double pangea_survey::Config::cameraAgl ( double nominalAgl) const
inline

Resolve the camera's height above ground.

Parameters
nominalAglRoute height in metres.
Returns
Configured map-camera height, or nominalAgl if unset.

Definition at line 110 of file route.h.

◆ cameraFov()

double pangea_survey::Config::cameraFov ( ) const
inline

Compute field of view at the selected map-camera height.

Returns
Field of view in degrees.

Preserve the starting ground footprint by scaling the tangent of the half-angle, not the angle itself.

Definition at line 103 of file route.h.

◆ piCamera()

bool pangea_survey::Config::piCamera ( ) const
inline

Check for the calibrated Raspberry Pi AI camera optics path.

Returns
True when the route selects that profile.

Definition at line 115 of file route.h.

◆ timedPhotoDue()

bool pangea_survey::Config::timedPhotoDue ( double elapsed,
double nextPhoto ) const
inline

Check whether an enabled timed capture has reached its deadline.

Parameters
elapsedSeconds elapsed in the session.
nextPhotoScheduled time in the same elapsed-time domain.
Returns
True when timed capture is enabled and due.

Definition at line 96 of file route.h.

◆ viewportFov()

double pangea_survey::Config::viewportFov ( int width,
int height ) const
inline

Choose the simulator viewport field of view.

Parameters
widthViewport columns in pixels.
heightViewport rows in pixels.
Returns
Field of view in degrees.

The Pi optics path accounts for viewport shape and capture inset; the generic path uses the height-adjusted configuration.

Definition at line 122 of file route.h.

Field Documentation

◆ autoEnterFlight

bool pangea_survey::Config::autoEnterFlight = true

Definition at line 84 of file route.h.

◆ captureInset

int pangea_survey::Config::captureInset = 0

Definition at line 74 of file route.h.

◆ captureMargin

bool pangea_survey::Config::captureMargin = false

Definition at line 72 of file route.h.

◆ end

Point pangea_survey::Config::end

Definition at line 62 of file route.h.

◆ exifSettings

CameraExifSettings pangea_survey::Config::exifSettings

Definition at line 69 of file route.h.

◆ fov

double pangea_survey::Config::fov = 60

Definition at line 66 of file route.h.

◆ grab

int pangea_survey::Config::grab = 2

Definition at line 70 of file route.h.

◆ iniDirectory

std::filesystem::path pangea_survey::Config::iniDirectory

Definition at line 90 of file route.h.

◆ interval

double pangea_survey::Config::interval = 4

Definition at line 64 of file route.h.

◆ ivyAddress

std::string pangea_survey::Config::ivyAddress = "127.255.255.255:2010"

Definition at line 79 of file route.h.

◆ ivyAircraftId

int pangea_survey::Config::ivyAircraftId = -1

Definition at line 80 of file route.h.

◆ ivyEnabled

bool pangea_survey::Config::ivyEnabled = false

Definition at line 78 of file route.h.

◆ jpegHeight

int pangea_survey::Config::jpegHeight = 1520

Definition at line 76 of file route.h.

◆ jpegWidth

int pangea_survey::Config::jpegWidth = 2028

Definition at line 76 of file route.h.

◆ lens

LensEffects pangea_survey::Config::lens

Definition at line 68 of file route.h.

◆ lensProfile

std::string pangea_survey::Config::lensProfile = "simconnect"

Definition at line 67 of file route.h.

◆ lockStartAltitude

bool pangea_survey::Config::lockStartAltitude = true

Definition at line 77 of file route.h.

◆ mapCameraAgl

double pangea_survey::Config::mapCameraAgl = 0

Definition at line 73 of file route.h.

◆ output

std::filesystem::path pangea_survey::Config::output

Definition at line 81 of file route.h.

◆ quality

unsigned long pangea_survey::Config::quality = 92

Definition at line 75 of file route.h.

◆ settle

double pangea_survey::Config::settle = 10

Definition at line 65 of file route.h.

◆ speed

double pangea_survey::Config::speed = 20

Definition at line 63 of file route.h.

◆ start

Point pangea_survey::Config::start

Definition at line 61 of file route.h.

◆ startupAirport

std::string pangea_survey::Config::startupAirport = "EHRD"

Definition at line 83 of file route.h.

◆ startupFlight

std::string pangea_survey::Config::startupFlight = "auto"

Definition at line 82 of file route.h.

◆ startupMaximizeMinimized

bool pangea_survey::Config::startupMaximizeMinimized = true

Definition at line 85 of file route.h.

◆ startupTimeout

double pangea_survey::Config::startupTimeout = 0

Definition at line 86 of file route.h.

◆ startupUtc

std::optional<UtcDateTime> pangea_survey::Config::startupUtc

Definition at line 87 of file route.h.

◆ tileOverlap

double pangea_survey::Config::tileOverlap = 0.15

Definition at line 71 of file route.h.

◆ tileSettle

double pangea_survey::Config::tileSettle = 0.05

Definition at line 71 of file route.h.

◆ weatherPreset

std::string pangea_survey::Config::weatherPreset = "unchanged"

Definition at line 88 of file route.h.

◆ weatherReadback

std::filesystem::path pangea_survey::Config::weatherReadback

Definition at line 89 of file route.h.


The documentation for this struct was generated from the following file: