Classes | Defines | Functions | Variables
command_sub.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <AR/param.h>
#include <AR/matrix.h>
#include <AR/ar.h>
#include "paddle.h"
#include "command_sub.h"
#include "util.h"
Include dependency graph for backup/examples/paddleDemo/command_sub.c:

Go to the source code of this file.

Classes

struct  PUNCH_BUF_T
struct  PUSH_BUF_T
struct  SHAKE_BUF_T

Defines

#define PUNCH_BUF_SIZE   5
#define PUSH_BUF_SIZE   2
#define SHAKE_BUF_SIZE   10

Functions

int check_incline (double card_trans[3][4], double base_trans[3][4], double *angle)
int check_pickup (double card_trans[3][4], double base_trans[3][4], ItemList *itlist, double *angle)
int check_shake (double card_trans[3][4], int f)

Variables

static SHAKE_BUF_T shake_buf [SHAKE_BUF_SIZE]
static int shake_buf_num = 0

Define Documentation

#define PUNCH_BUF_SIZE   5

Definition at line 17 of file backup/examples/paddleDemo/command_sub.c.

#define PUSH_BUF_SIZE   2

Definition at line 18 of file backup/examples/paddleDemo/command_sub.c.

#define SHAKE_BUF_SIZE   10

Definition at line 16 of file backup/examples/paddleDemo/command_sub.c.


Function Documentation

int check_incline ( double  card_trans[3][4],
double  base_trans[3][4],
double *  angle 
)

Definition at line 160 of file backup/examples/paddleDemo/command_sub.c.

int check_pickup ( double  card_trans[3][4],
double  base_trans[3][4],
ItemList itlist,
double *  angle 
)

Definition at line 205 of file backup/examples/paddleDemo/command_sub.c.

int check_shake ( double  card_trans[3][4],
int  f 
)

Definition at line 43 of file backup/examples/paddleDemo/command_sub.c.


Variable Documentation

Definition at line 35 of file backup/examples/paddleDemo/command_sub.c.

int shake_buf_num = 0 [static]

Definition at line 36 of file backup/examples/paddleDemo/command_sub.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:00