#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"
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 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.
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.
SHAKE_BUF_T shake_buf[SHAKE_BUF_SIZE] [static] |
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.