25 #include "generated/airframe.h"
26 #include "generated/flight_plan.h"
29 #ifndef PHOTOGRAMMETRY_SWEEP_ANGLE
30 #define PHOTOGRAMMETRY_SWEEP_ANGLE 0
34 #ifndef PHOTOGRAMMETRY_OVERLAP
35 #define PHOTOGRAMMETRY_OVERLAP 50
39 #ifndef PHOTOGRAMMETRY_SIDELAP
40 #define PHOTOGRAMMETRY_SIDELAP 50
44 #ifndef PHOTOGRAMMETRY_RESOLUTION
45 #define PHOTOGRAMMETRY_RESOLUTION 50
90 float viewing_ratio_height = ((float) PHOTOGRAMMETRY_SENSOR_HEIGHT) / ((float)PHOTOGRAMMETRY_FOCAL_LENGTH);
91 float viewing_ratio_width = ((float) PHOTOGRAMMETRY_SENSOR_WIDTH) / ((float)PHOTOGRAMMETRY_FOCAL_LENGTH);
92 float pixel_projection_width = viewing_ratio_width / ((float)PHOTOGRAMMETRY_PIXELS_WIDTH);
110 float viewing_ratio_height = ((float) PHOTOGRAMMETRY_SENSOR_HEIGHT) / ((float)PHOTOGRAMMETRY_FOCAL_LENGTH);
111 float viewing_ratio_width = ((float) PHOTOGRAMMETRY_SENSOR_WIDTH) / ((float)PHOTOGRAMMETRY_FOCAL_LENGTH);
112 float pixel_projection_width = viewing_ratio_width / ((float)PHOTOGRAMMETRY_PIXELS_WIDTH);
int photogrammetry_radius_min
#define PHOTOGRAMMETRY_SIDELAP
sidelap 1-99 percent
int photogrammetry_height_max
#define PHOTOGRAMMETRY_OVERLAP
overlap 1-99 percent
int photogrammetry_height_min
int photogrammetry_resolution
#define PHOTOGRAMMETRY_SWEEP_ANGLE
Default sweep angle in radians from north.
void init_photogrammetry_calculator(void)
int photogrammetry_sidestep
int photogrammetry_overlap
#define PHOTOGRAMMETRY_RESOLUTION
mm pixel projection size
void photogrammetry_calculator_update_flightplan2camera(void)
void photogrammetry_calculator_update_camera2flightplan(void)
float photogrammetry_sweep_angle
int photogrammetry_height
int photogrammetry_triggerstep
int photogrammetry_sidelap