computation.h

来自「FIRA 5V5比赛中一个机器人源代码 本科毕业设计做的」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef Computation_H
#define Computation_H
#include "strategy.h"

double angleNormalisation(double angle, double choice);
double findPointToPointAngle(Vector3D referencePoint, Vector3D targetPoint);
double findDistance(Vector3D firstPos, Vector3D secondPos);
Vector3D findFurtherPos(Environment *env,int whichRobot,Vector3D targetPoint, double furtherHowMuch);
double findTurningDirection(double angle);
double findGradient( Vector3D firstPosition, Vector3D secondPosition);
void flipCoordinate(Environment *env);
void flipVelocity(Environment *env);
Vector3D predictedBall(Environment *env, float howFar);
float predictHowFar(Environment *env, int whichRobot);
void PredictBallOld (Environment *env,Robot *robot);

void transferEnvironmentDataToUserData(Environment *env);
void zoning(Environment *env);
	


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?