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);
#define PHOTOGRAMMETRY_SWEEP_ANGLE
Default sweep angle in radians from north.
int photogrammetry_height_max
int photogrammetry_sidestep
float photogrammetry_sweep_angle
int photogrammetry_radius_min
int photogrammetry_height
#define PHOTOGRAMMETRY_RESOLUTION
mm pixel projection size
int photogrammetry_height_min
void photogrammetry_calculator_update_camera2flightplan(void)
void init_photogrammetry_calculator(void)
int photogrammetry_resolution
void photogrammetry_calculator_update_flightplan2camera(void)
#define PHOTOGRAMMETRY_OVERLAP
overlap 1-99 percent
int photogrammetry_triggerstep
#define PHOTOGRAMMETRY_SIDELAP
sidelap 1-99 percent
int photogrammetry_sidelap
int photogrammetry_overlap