|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Add to airframe file: More...
#include "std.h"#include "paparazzi.h"#include "modules/nav/nav_survey_poly_osam.h"#include "modules/nav/nav_survey_polygon.h"
Include dependency graph for photogrammetry_calculator.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | init_photogrammetry_calculator (void) |
| void | photogrammetry_calculator_update_camera2flightplan (void) |
| void | photogrammetry_calculator_update_flightplan2camera (void) |
Add to airframe file:
<section name="Photogrammetry" prefix="PHOTOGRAMMETRY_">
<!-- Camera Parameters -->
<define name="FOCAL_LENGTH" value="35" unit="mm"/>
<define name="SENSOR_WIDTH" value="24" unit="mm"/> <!-- In direction of the plane's wings -->
<define name="SENSOR_HEIGHT" value="13.5" unit="mm"/> <!-- In direction of the plane's nose -->
<define name="PIXELS_WIDTH" value="1024" unit=""/>
<!-- Flight Safety Parameters -->
<define name="HEIGHT_MIN" value="35" unit="m"/>
<define name="HEIGHT_MAX" value="500" unit="m"/>
<define name="RADIUS_MIN" value="70" unit="m"/>
</section>
<modules>
<load name="photogrammetry_calculator.xml" />
</modules>
Add to flightplan or airframe file:
<!-- Photogrammetry Parameters: define these in the flightplan-->
<define name="OVERLAP" value="0.5" unit="PROCENT"/>
<define name="SIDELAP" value="0.5" unit="PROCENT"/>
<define name="RESOLUTION" value="50" unit="mm pixel projection"/>
Add to flightplan
<header>
#define PHOTOGRAMMETRY_SWEEP_ANGLE RadOfDeg(53) // angle in radians from the North
#define PHOTOGRAMMETRY_OVERLAP 50 // 1-99 Procent
#define PHOTOGRAMMETRY_SIDELAP 50 // 1-99 Procent
#define PHOTOGRAMMETRY_RESOLUTION 80 // mm pixel projection size
</header>
<block group="survey" name="Initialize Poly Survey 56789" strip_button="Survey5678" strip_icon="survey.png">
<call fun="PhotogrammetryCalculatorPolygonSurvey(WP_5, 5)"/>
<call fun="PolygonSurvey()"/>
</block>
<block group="survey" name="Initialize ADV Poly 1234 Survey" strip_button="SurveyADV" strip_icon="survey.png">
<call fun="PhotogrammetryCalculatorPolygonSurveyADV(WP_1, 4)"/>
<call fun="poly_survey_adv()"/>
</block>
Definition in file photogrammetry_calculator.h.
| #define photogrammetry_calculator_UpdateHeight | ( | X | ) |
Definition at line 122 of file photogrammetry_calculator.h.
| #define photogrammetry_calculator_UpdateOverLap | ( | X | ) |
Definition at line 111 of file photogrammetry_calculator.h.
| #define photogrammetry_calculator_UpdateResolution | ( | X | ) |
Definition at line 116 of file photogrammetry_calculator.h.
| #define photogrammetry_calculator_UpdateSideLap | ( | X | ) |
Definition at line 106 of file photogrammetry_calculator.h.
| #define photogrammetry_calculator_UpdateSideStep | ( | X | ) |
Definition at line 127 of file photogrammetry_calculator.h.
| #define photogrammetry_calculator_UpdateTriggerStep | ( | X | ) |
Definition at line 132 of file photogrammetry_calculator.h.
Definition at line 146 of file photogrammetry_calculator.h.
Definition at line 139 of file photogrammetry_calculator.h.
Definition at line 67 of file photogrammetry_calculator.c.
References foo, photogrammetry_calculator_update_camera2flightplan(), photogrammetry_height_max, photogrammetry_height_min, PHOTOGRAMMETRY_OVERLAP, photogrammetry_overlap, photogrammetry_radius_min, PHOTOGRAMMETRY_RESOLUTION, photogrammetry_resolution, PHOTOGRAMMETRY_SIDELAP, photogrammetry_sidelap, PHOTOGRAMMETRY_SWEEP_ANGLE, and photogrammetry_sweep_angle.
Here is the call graph for this function:Definition at line 82 of file photogrammetry_calculator.c.
References foo, photogrammetry_height, photogrammetry_height_max, photogrammetry_height_min, photogrammetry_overlap, photogrammetry_resolution, photogrammetry_sidelap, photogrammetry_sidestep, and photogrammetry_triggerstep.
Referenced by init_photogrammetry_calculator().
Here is the caller graph for this function:Definition at line 107 of file photogrammetry_calculator.c.
References foo, photogrammetry_height, photogrammetry_overlap, photogrammetry_resolution, photogrammetry_sidelap, photogrammetry_sidestep, and photogrammetry_triggerstep.
|
extern |
Definition at line 54 of file photogrammetry_calculator.c.
Referenced by photogrammetry_calculator_update_camera2flightplan(), and photogrammetry_calculator_update_flightplan2camera().
|
extern |
Definition at line 63 of file photogrammetry_calculator.c.
Referenced by init_photogrammetry_calculator(), and photogrammetry_calculator_update_camera2flightplan().
|
extern |
Definition at line 62 of file photogrammetry_calculator.c.
Referenced by init_photogrammetry_calculator(), and photogrammetry_calculator_update_camera2flightplan().
|
extern |
Definition at line 58 of file photogrammetry_calculator.c.
Referenced by init_photogrammetry_calculator(), photogrammetry_calculator_update_camera2flightplan(), and photogrammetry_calculator_update_flightplan2camera().
|
extern |
Definition at line 64 of file photogrammetry_calculator.c.
Referenced by init_photogrammetry_calculator().
|
extern |
Definition at line 59 of file photogrammetry_calculator.c.
Referenced by init_photogrammetry_calculator(), photogrammetry_calculator_update_camera2flightplan(), and photogrammetry_calculator_update_flightplan2camera().
|
extern |
Definition at line 57 of file photogrammetry_calculator.c.
Referenced by init_photogrammetry_calculator(), photogrammetry_calculator_update_camera2flightplan(), and photogrammetry_calculator_update_flightplan2camera().
|
extern |
Definition at line 52 of file photogrammetry_calculator.c.
Referenced by photogrammetry_calculator_update_camera2flightplan(), and photogrammetry_calculator_update_flightplan2camera().
|
extern |
Definition at line 50 of file photogrammetry_calculator.c.
Referenced by init_photogrammetry_calculator().
|
extern |
Definition at line 53 of file photogrammetry_calculator.c.
Referenced by photogrammetry_calculator_update_camera2flightplan(), and photogrammetry_calculator_update_flightplan2camera().