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);