Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
photogrammetry_calculator.c
Go to the documentation of this file.
1/*
2 * Copyright (C) 2009 Christophe De Wagter
3 *
4 * This file is part of paparazzi.
5 *
6 * paparazzi is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * paparazzi is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with paparazzi; see the file COPYING. If not, write to
18 * the Free Software Foundation, 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 *
21 */
22
24
25#include "generated/airframe.h"
26#include "generated/flight_plan.h"
27
29#ifndef PHOTOGRAMMETRY_SWEEP_ANGLE
30#define PHOTOGRAMMETRY_SWEEP_ANGLE 0
31#endif
32
34#ifndef PHOTOGRAMMETRY_OVERLAP
35#define PHOTOGRAMMETRY_OVERLAP 50
36#endif
37
39#ifndef PHOTOGRAMMETRY_SIDELAP
40#define PHOTOGRAMMETRY_SIDELAP 50
41#endif
42
44#ifndef PHOTOGRAMMETRY_RESOLUTION
45#define PHOTOGRAMMETRY_RESOLUTION 50
46#endif
47
48
49// Flightplan Paramters
50float photogrammetry_sweep_angle = 0; // in rad
51
55
56// Photogrammetry Goals
57int photogrammetry_sidelap; // Percent 0 - 100
58int photogrammetry_overlap; // Percent 0 - 100
59int photogrammetry_resolution; // Millimeter per pixel
60
61// Safety Aspects
65
66
81
106
121
122
uint16_t foo
Definition main_demo5.c:58
#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
Add to airframe file: