|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <errno.h>#include "serial.h"#include "chdk_pipe.h"#include "protocol.h"
Include dependency graph for catia.c:Go to the source code of this file.
Macros | |
| #define | MAX_FILENAME 512 |
| #define | MAX_PROCESSING_THREADS 8 |
| #define | MAX_IMAGE_BUFFERS 25 |
| #define | IMAGE_SIZE 70 |
| #define | SODA "/root/develop/allthings_obc2014/src/soda/soda" |
Functions | |
| static void * | handle_msg_shoot (void *ptr) |
| static void | send_msg_image_buffer (void) |
| static void | send_msg_status (void) |
| int | main (int argc, char *argv[]) |
Definition at line 104 of file catia.c.
References chdk_pipe_shoot(), foo, is_shooting, MAX_FILENAME, mut, shooting_count, shooting_thread_count, and SODA.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 25 of file catia.c.
References dc_shot_union::bin, chdk_pipe_deinit(), chdk_pipe_init(), fd, foo, handle_msg_shoot(), dc_shot_union::i, image_buffer, image_count, image_idx, IMAGE_SIZE, is_shooting, MAX_IMAGE_BUFFERS, MAX_PROCESSING_THREADS, MORA_BUFFER_EMPTY, mora_protocol, MORA_SHOOT, MORA_SHOOT_MSG_SIZE, mora_transport::msg_id, mora_transport::msg_received, mut, parse_mora(), mora_transport::payload, send_msg_image_buffer(), send_msg_status(), serial_init(), shooting_count, shooting_idx, shooting_thread_count, socket_init(), socket_recv(), and mora_transport::status.
Here is the call graph for this function:Definition at line 147 of file catia.c.
References foo, dc_shot_union::i, image_buffer, image_count, image_idx, IMAGE_SIZE, MAX_IMAGE_BUFFERS, MORA_PAYLOAD, MORA_PAYLOAD_MSG_SIZE, MoraHeader, MoraPutUint8, and MoraTrailer.
Referenced by main().
Here is the caller graph for this function:Definition at line 166 of file catia.c.
References foo, dc_shot_union::i, MORA_STATUS, MORA_STATUS_MSG_SIZE, MoraHeader, MoraPutUint8, MoraTrailer, mut, shooting_count, and shooting_thread_count.
Referenced by main().
Here is the caller graph for this function:
|
static |
Definition at line 22 of file catia.c.
Referenced by main(), and send_msg_image_buffer().
Definition at line 21 of file catia.c.
Referenced by main(), and send_msg_image_buffer().
Definition at line 21 of file catia.c.
Referenced by main(), and send_msg_image_buffer().
Definition at line 21 of file catia.c.
Referenced by handle_msg_shoot(), and main().
|
static |
Definition at line 23 of file catia.c.
Referenced by handle_msg_shoot(), main(), microrlComplet(), microrlExecute(), modeAlternate(), modeShell(), and send_msg_status().
Definition at line 21 of file catia.c.
Referenced by handle_msg_shoot(), main(), and send_msg_status().
Definition at line 21 of file catia.c.
Referenced by handle_msg_shoot(), main(), and send_msg_status().