/****************************************************************************
初始化全局变量
****************************************************************************/
void veriable_init(void){
int i,j;
unsigned int pVROW[40]={
0,12,25,36,48,59,70,80,90,99,109,117,126,134,142,149,156,163,170,176,182,188,194,199,204,209,2
14,219,223,227,231,235,239,243,246,250,253,256,259,262
};
#ifdef ABNORMAL_SAMPLE
for(i=0;i<40;i++){
VROW[i]=pVROW[i];
}
#else
for(i=0;i<40;i++){
VROW[i]=i*6+Drow;
}
#endif
BiValueFailed=0;
Row=0;
vRow=0;
FrameFinish=0;
VideoEnable=0;
OddValid=0;
EvenValid=0;
AdCounter=0;
PolluteSum=0;
MdcServiceNumber=0;
DCOK=0;
ERROR_VALUE=0;
SystemEventCounter=0;
DC12Ctl_I=0;
FrameCounter=0;
OddCounter=0;
EvenCounter=0;
LastPulseCounter=0;
SpeedCtl_I=SpeedCtl_I_init;
SpeedGiven=10;
SpeedAdjust=0;
TargetSpeed=SpeedGiven;
DriftGiven=0;
LastRoadStyle=STRIGHT;
StateRecordCounter=0;
RoadMarkCounter=0;
RoundCounter=0;
IsStarting=0;
StrightFrameCounter=0;
TurnFrameCounter=0;
MemoryState=0;
RoadOutFlag=0;
PACN32ClearFlag=0;
SteerIncrement=0;
RealSteer=0;