Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
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
uint32_t
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
Definition: vl53l1_types.h:78
HackHD::log_delay
uint32_t log_delay
Definition: hackhd.h:64
HACKHD_STOP_RECORD
@ HACKHD_STOP_RECORD
Definition: hackhd.h:53
hackhd_init
void hackhd_init(void)
Definition: hackhd.c:145
HACKHD_START_RECORD
@ HACKHD_START_RECORD
Definition: hackhd.h:52
hackhd_status
hackhd_status
Definition: hackhd.h:48
HACKHD_POWER_ON
@ HACKHD_POWER_ON
Definition: hackhd.h:50
hackhd_autoshoot_start
void hackhd_autoshoot_start(void)
Definition: hackhd.c:246
HACKHD_POWER_OFF
@ HACKHD_POWER_OFF
Definition: hackhd.h:51
hackhd_command
void hackhd_command(enum hackhd_status cmd)
Definition: hackhd.c:194
HACKHD_AUTOSHOOT_START
@ HACKHD_AUTOSHOOT_START
Definition: hackhd.h:55
hackhd_autoshoot
void hackhd_autoshoot(void)
Definition: hackhd.c:220
HackHD::timer
uint32_t timer
Definition: hackhd.h:60
HackHD
Definition: hackhd.h:58
HACKHD_SHOOT
@ HACKHD_SHOOT
Definition: hackhd.h:54
HackHD::photo_nr
int16_t photo_nr
Definition: hackhd.h:61
int16_t
short int16_t
Typedef defining 16 bit short type.
Definition: vl53l1_types.h:93
std.h
pprz_geodetic_float.h
Paparazzi floating point math for geodetic calculations.
hackhd_periodic
void hackhd_periodic(void)
Definition: hackhd.c:165
HackHD::status
enum hackhd_status status
Definition: hackhd.h:59
EnuCoor_f
vector in East North Up coordinates Units: meters
Definition: pprz_geodetic_float.h:72
hackhd
struct HackHD hackhd
send report
Definition: hackhd.c:143
HACKHD_NONE
@ HACKHD_NONE
Definition: hackhd.h:49
HackHD::last_shot_pos
struct EnuCoor_f last_shot_pos
Definition: hackhd.h:63
HackHD::autoshoot
uint32_t autoshoot
Definition: hackhd.h:62