30 lines
698 B
C
30 lines
698 B
C
//
|
|
// Created by xixiliadorabarry on 1/24/19.
|
|
//
|
|
#ifndef CONSTANT_H
|
|
#define CONSTANT_H
|
|
|
|
#include "additions/additions.h"
|
|
|
|
#define d2r (CV_PI / 180.0)
|
|
|
|
const int ALLY_BLUE = ENEMY_RED;
|
|
const int ALLY_RED = ENEMY_BLUE;
|
|
const int SRC_WIDTH_CAMERA = 640;
|
|
const int SRC_HEIGHT_CAMERA = 480;
|
|
const int SRC_WIDTH = 320;
|
|
const int SRC_HEIGHT = 240;
|
|
const double PI = 3.1415926;
|
|
const int CLOCKWISE = 1;
|
|
const int ANTICLOCKWISE = -1;
|
|
const float ATTACK_DISTANCE = 718;//cm
|
|
const double ARMOR_CENTER_TO_CYCLE_CENTER = 75;//cm
|
|
const int EXTRACT_POINT_X = 120;
|
|
const int EXTRACT_POINT_Y = 0;
|
|
const int EXTRACT_WIDTH = 400;
|
|
const int EXTRACT_HEIGHT = 300;
|
|
|
|
|
|
#endif //CONSTANT_H
|
|
|