Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
dc_ctrl_parrot_mykonos.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 OpenUAS
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 
37 #ifndef DC_CTRL_PARROT_MYKONOS_H
38 #define DC_CTRL_PARROT_MYKONOS_H
39 
40 #include "std.h"
42 
43 // Include Standard Camera Control Interface
44 // Note: Standard DC nneds to be unified and enhance for multicam support
45 #include "dc.h"
46 
47 #include BOARD_CONFIG
48 
58 };
59 
67 };
68 
70 
71 extern void dc_ctrl_parrot_mykonos_init(void);
72 extern void dc_ctrl_parrot_mykonos_periodic(void);
73 extern void dc_ctrl_parrot_mykonos_autoshoot(void);
76 
77 // macro for setting handler
78 #define dc_ctrl_parrot_mykonos_SendCmd(cmd) dc_ctrl_parrot_mykonos_command(cmd)
79 
80 #endif // DC_CTRL_PARROT_MYKONOS_H
Dc_Ctrl_Parrot_Mykonos::timer
uint32_t timer
Definition: dc_ctrl_parrot_mykonos.h:62
dc_ctrl_parrot_mykonos_autoshoot
void dc_ctrl_parrot_mykonos_autoshoot(void)
Definition: dc_ctrl_parrot_mykonos.c:283
dc_ctrl_parrot_mykonos_autoshoot_start
void dc_ctrl_parrot_mykonos_autoshoot_start(void)
Definition: dc_ctrl_parrot_mykonos.c:309
DC_CTRL_PARROT_MYKONOS_RECORD_STOP
@ DC_CTRL_PARROT_MYKONOS_RECORD_STOP
Definition: dc_ctrl_parrot_mykonos.h:52
Dc_Ctrl_Parrot_Mykonos::status
enum dc_ctrl_parrot_mykonos_status status
Definition: dc_ctrl_parrot_mykonos.h:61
uint32_t
unsigned long uint32_t
Definition: types.h:18
dc_ctrl_parrot_mykonos_periodic
void dc_ctrl_parrot_mykonos_periodic(void)
Definition: dc_ctrl_parrot_mykonos.c:151
dc.h
DC_CTRL_PARROT_MYKONOS_NONE
@ DC_CTRL_PARROT_MYKONOS_NONE
Definition: dc_ctrl_parrot_mykonos.h:50
std.h
pprz_geodetic_float.h
Paparazzi floating point math for geodetic calculations.
dc_ctrl_parrot_mykonos_status
dc_ctrl_parrot_mykonos_status
Definition: dc_ctrl_parrot_mykonos.h:49
Dc_Ctrl_Parrot_Mykonos::photo_nr
int16_t photo_nr
Definition: dc_ctrl_parrot_mykonos.h:63
dc_ctrl_parrot_mykonos_init
void dc_ctrl_parrot_mykonos_init(void)
Definition: dc_ctrl_parrot_mykonos.c:117
DC_CTRL_PARROT_MYKONOS_STREAM_START
@ DC_CTRL_PARROT_MYKONOS_STREAM_START
Definition: dc_ctrl_parrot_mykonos.h:54
int16_t
signed short int16_t
Definition: types.h:17
EnuCoor_f
vector in East North Up coordinates Units: meters
Definition: pprz_geodetic_float.h:72
Dc_Ctrl_Parrot_Mykonos::autoshoot
uint32_t autoshoot
Definition: dc_ctrl_parrot_mykonos.h:64
DC_CTRL_PARROT_MYKONOS_SHOOT
@ DC_CTRL_PARROT_MYKONOS_SHOOT
Definition: dc_ctrl_parrot_mykonos.h:53
DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_START
@ DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_START
Definition: dc_ctrl_parrot_mykonos.h:56
DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_STOP
@ DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_STOP
Definition: dc_ctrl_parrot_mykonos.h:57
dc_ctrl_parrot_mykonos
struct Dc_Ctrl_Parrot_Mykonos dc_ctrl_parrot_mykonos
Send report.
Definition: dc_ctrl_parrot_mykonos.c:115
dc_ctrl_parrot_mykonos_command
void dc_ctrl_parrot_mykonos_command(enum dc_ctrl_parrot_mykonos_status cmd)
Definition: dc_ctrl_parrot_mykonos.c:209
Dc_Ctrl_Parrot_Mykonos::last_shot_pos
struct EnuCoor_f last_shot_pos
Definition: dc_ctrl_parrot_mykonos.h:65
DC_CTRL_PARROT_MYKONOS_STREAM_STOP
@ DC_CTRL_PARROT_MYKONOS_STREAM_STOP
Definition: dc_ctrl_parrot_mykonos.h:55
DC_CTRL_PARROT_MYKONOS_RECORD_START
@ DC_CTRL_PARROT_MYKONOS_RECORD_START
Definition: dc_ctrl_parrot_mykonos.h:51
Dc_Ctrl_Parrot_Mykonos::log_delay
uint32_t log_delay
Definition: dc_ctrl_parrot_mykonos.h:66
Dc_Ctrl_Parrot_Mykonos
Definition: dc_ctrl_parrot_mykonos.h:60