| | |
| | | // g_com_map[RELAY2_DISTANCE3] = 1400; //é»è®¤æ¥è¦è·ç¦»50cm |
| | | // g_com_map[WAR_JDQ_TIME] = 1; //1ç§ |
| | | // g_com_map[POWER]=30; |
| | | // g_com_map[SPEEDFILTER_THRES]=10000; |
| | | g_com_map[SPEEDFILTER_THRES]=30000; |
| | | // g_com_map[FILTER_COEFFICIENT]=40; |
| | | // g_com_map[ANT_LENGTH]=0; |
| | | // g_com_map[NOMOVESLEEP_TIME]=728; |
| | |
| | | |
| | | OUT485_ENABLE; |
| | | ComMapCheck(); |
| | | g_com_map[VERSION] = 1<<8|76; |
| | | g_com_map[VERSION] = 1<<8|77; |
| | | FLASH_Read(FLASH_HARDWARE_FLAG, (uint8_t*)&g_com_map[HARDWAREFLAG_INDEX], 16); |
| | | dist_threshold = (g_com_map[SPEEDFILTER_THRES]*10)/(1000/g_com_map[COM_INTERVAL]); |
| | | if(dist_threshold<300) |