Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
hackhd.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Gautier Hattenberger
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 
23 
42 #ifndef HACKHD_H
43 #define HACKHD_H
44 
45 #include "std.h"
47 
56 };
57 
58 struct HackHD {
65 };
66 
67 extern struct HackHD hackhd;
68 
69 extern void hackhd_init(void);
70 extern void hackhd_periodic(void);
71 extern void hackhd_autoshoot(void);
72 extern void hackhd_autoshoot_start(void);
73 extern void hackhd_command(enum hackhd_status cmd);
74 
75 // macro for setting handler
76 #define hackhd_SendCmd(cmd) hackhd_command(cmd)
77 
78 #endif // HACKHD_H
hackhd_status
Definition: hackhd.h:48
void hackhd_init(void)
Definition: hackhd.c:146
void hackhd_command(enum hackhd_status cmd)
Definition: hackhd.c:193
void hackhd_autoshoot_start(void)
Definition: hackhd.c:245
void hackhd_autoshoot(void)
Definition: hackhd.c:219
struct EnuCoor_f last_shot_pos
Definition: hackhd.h:63
Paparazzi floating point math for geodetic calculations.
uint32_t log_delay
Definition: hackhd.h:64
unsigned long uint32_t
Definition: types.h:18
struct HackHD hackhd
send report
Definition: hackhd.c:144
void hackhd_periodic(void)
Definition: hackhd.c:165
uint32_t timer
Definition: hackhd.h:60
enum hackhd_status status
Definition: hackhd.h:59
uint32_t photo_nr
Definition: hackhd.h:61
uint32_t autoshoot
Definition: hackhd.h:62
vector in East North Up coordinates Units: meters
Definition: hackhd.h:58