Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
board.c File Reference

ARDrone2 specific board initialization function. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "mcu.h"
#include "modules/computer_vision/lib/v4l/v4l2.h"
#include "peripherals/video_device.h"
#include "generated/modules.h"
+ Include dependency graph for board.c:

Go to the source code of this file.

Functions

int KillGracefully (char *process_name)
 
void board_init (void)
 Optional board init function called at the start of mcu_init(). More...
 

Variables

struct video_config_t front_camera
 
struct video_config_t bottom_camera
 

Detailed Description

ARDrone2 specific board initialization function.

Definition in file board.c.

Function Documentation

◆ KillGracefully()

int KillGracefully ( char *  process_name)

Definition at line 94 of file board.c.

Referenced by board_init().

+ Here is the caller graph for this function:

Variable Documentation

◆ bottom_camera

struct video_config_t bottom_camera
Initial value:
= {
.output_size = {
.w = 320,
.h = 240
},
.sensor_size = {
.w = 320,
.h = 240
},
.crop = {
.x = 0,
.y = 0,
.w = 320,
.h = 240
},
.dev_name = "/dev/video2",
.subdev_name = NULL,
.format = V4L2_PIX_FMT_UYVY,
.buf_cnt = 10,
.filters = 0,
.cv_listener=NULL,
.fps = 0
}

Definition at line 1 of file board.c.

◆ front_camera

struct video_config_t front_camera
Initial value:
= {
.output_size = {
.w = 1280,
.h = 720
},
.sensor_size = {
.w = 1280,
.h = 720
},
.crop = {
.x = 0,
.y = 0,
.w = 1280,
.h = 720
},
.dev_name = "/dev/video1",
.subdev_name = NULL,
.format = V4L2_PIX_FMT_UYVY,
.buf_cnt = 10,
.filters = 0,
.cv_listener=NULL,
.fps = 0
}

Definition at line 1 of file board.c.