Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_DELAY

#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.

◆ DC_CTRL_PARROT_MYKONOS_AUTOSHOOT_TIMER_OF_DELAY

#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.

◆ DC_CTRL_PARROT_MYKONOS_LOG_DELAY

#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.

◆ DC_CTRL_PARROT_MYKONOS_RECORD_DELAY

#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.

◆ DC_CTRL_PARROT_MYKONOS_TIMER_OF_DELAY

#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.

Function Documentation

◆ dc_ctrl_parrot_mykonos_autoshoot()

◆ dc_ctrl_parrot_mykonos_autoshoot_start()

void dc_ctrl_parrot_mykonos_autoshoot_start ( void  )

◆ dc_ctrl_parrot_mykonos_command()

◆ dc_ctrl_parrot_mykonos_init()

◆ dc_ctrl_parrot_mykonos_periodic()

Variable Documentation

◆ dc_ctrl_parrot_mykonos