?? globe.h
字號:
#ifndef _GLOBE_H_
#define _GLOBE_H_
#include "GeometryR.h"
#define sqrt2 1.414213562373
#define CLOCKWISE 1
#define ANTICLOCK -1
#define NOCLOCK 0
//場地物體浮點位姿信息
class RobotInford
{
public:
RobotInford() { theta = 0; speedv = 0; speedw = 0; };
public:
VecPosition pos;
double theta; // 方向角
double speedv; // 機器人線速度(上周期)
double speedw; // 機器人角速度
};
//小車輪速值浮點型
typedef struct
{
double LeftValue;
double RightValue;
}dbLRWheelVelocity;
typedef struct
{
Line line;
double angle;
double velocity;
} FORCASTBALL;
struct DEGame
{
int DEGameGround;
int DEStartState;
int DEStartMode;
int DEPenaltyDirection;
};
//記錄角色分配的結果和參數
//struct RoleInfor
//{
// RoleInfor(){area = 0;role = 0;charactor = 1;};
// int area;
// int role;
// double charactor;
//};
#endif // _GLOBE_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -