judgement.cpp.bak

来自「智能车设计大赛用的对车传感器位置布置的模拟仿真软件」· BAK 代码 · 共 17 行

BAK
17
字号
// Judgement.cpp : Defines the entry point for the DLL application.
//

#include "stdafx.h"
#include "Judgement.H"

extern "C" _declspec(dllexport)
void Judge( unsigned short Speed,
			unsigned char* SensorData, unsigned short SensorCount,
			unsigned char* CCDData, int CCDWidth, int CCDHeight,
			unsigned short* MotorPWM, unsigned short* SteerPWM)
{
	*MotorPWM = Speed * 3;
	*SteerPWM = SensorData[0];
}

⌨️ 快捷键说明

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