Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
dc_ctrl_parrot_mykonos.c File Reference
#include "modules/digital_cam/dc_ctrl_parrot_mykonos.h"
#include "generated/modules.h"
#include "generated/airframe.h"
#include "mcu_periph/sys_time.h"
#include "modules/digital_cam/dc.h"
+ Include dependency graph for dc_ctrl_parrot_mykonos.c:

Go to the source code of this file.

Macros

#define DC_CTRL_PARROT_MYKONOS_RECORD_DELAY   0.05
 NOTES: For now only the front cam is used, feel free to extend. More...
 
#define DC_CTRL_PARROT_MYKONOS_LOG_DELAY   50
 delay in milli-seconds before logging after a shot in ms More...
 
#define DC_CTRL_PARROT_MYKONOS_TIMER_OF_DELAY(_delay)   ((uint32_t)(_delay * DC_CTRL_PARROT_MYKONOS_PERIODIC_FREQ))
 Get timer from delay based on periodic freq from modules.h. More...
 
#define DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_DELAY   5.0
 autoshoot timer delay based on periodic freq from modules.h More...
 
#define DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_TIMER_OF_DELAY(_delay)   ((uint32_t)(_delay * DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_FREQ))
 

Functions

void dc_ctrl_parrot_mykonos_init (void)
 
void dc_ctrl_parrot_mykonos_periodic (void)
 
void dc_ctrl_parrot_mykonos_command (enum dc_ctrl_parrot_mykonos_status cmd)
 
void dc_ctrl_parrot_mykonos_autoshoot (void)
 
void dc_ctrl_parrot_mykonos_autoshoot_start (void)
 

Variables

struct Dc_Ctrl_Parrot_Mykonos dc_ctrl_parrot_mykonos
 Send report. More...
 

Macro Definition Documentation

#define DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_DELAY   5.0

autoshoot timer delay based on periodic freq from modules.h

Definition at line 47 of file dc_ctrl_parrot_mykonos.c.

Referenced by dc_ctrl_parrot_mykonos_autoshoot().

#define DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_TIMER_OF_DELAY (   _delay)    ((uint32_t)(_delay * DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_FREQ))

Definition at line 49 of file dc_ctrl_parrot_mykonos.c.

Referenced by dc_ctrl_parrot_mykonos_autoshoot().

#define DC_CTRL_PARROT_MYKONOS_LOG_DELAY   50

delay in milli-seconds before logging after a shot in ms

Definition at line 40 of file dc_ctrl_parrot_mykonos.c.

Referenced by dc_ctrl_parrot_mykonos_command().

#define DC_CTRL_PARROT_MYKONOS_RECORD_DELAY   0.05

NOTES: For now only the front cam is used, feel free to extend.

Reason is that bottom_cam is normally in use for mapping or Optic flow and the like. See: https://github.com/Parrot-Developers/disco-opensource/Time in seconds to start/stop recording or take a picture

Definition at line 37 of file dc_ctrl_parrot_mykonos.c.

Referenced by dc_ctrl_parrot_mykonos_command().

#define DC_CTRL_PARROT_MYKONOS_TIMER_OF_DELAY (   _delay)    ((uint32_t)(_delay * DC_CTRL_PARROT_MYKONOS_PERIODIC_FREQ))

Get timer from delay based on periodic freq from modules.h.

Definition at line 43 of file dc_ctrl_parrot_mykonos.c.

Referenced by dc_ctrl_parrot_mykonos_command().

Function Documentation

void dc_ctrl_parrot_mykonos_autoshoot_start ( void  )

Variable Documentation