资源简介
B-Fighter10-2.8.zip
代码片段和文件信息
#include “myMenu.h“
#include “headfile.h“
//定义舵机引脚
#define servolFtmn ftm2
#define servolCh ftm_ch0
struct variable hangs[name_Num+1];
uint8_t saveMode = 0;
//应用FLash的接收和发送数组
uint8_t recieSendFlash[2*name_Num+2];
// vStraight = 3000;
// vTurn = 2800;
// longSp = 3300;
// direMiddle = 1510;
// direBig = 1670;
// direLittle = 1330;
// dirMidLine = 100;
// imaValue = 128;
// foreLine = 9;
//菜单变量
uint8_t BLANK=0;
extern uint8_t modeoledSwitchprotectSwitchimaValue;//4
extern uint8_t uartNowSwitchuartSwitchwareLessSwitch;//3(6)
//打脚行
extern uint8_t normalLinelongTLinebSTLine;//3
//PID参数
extern float kpLkdLkpRkdRkpskdspNormalLdNormalLpNormalRdNormalR;//8
extern float pSharpTurndSharpTurnpGentleTurndGentleTurnpSmallSdSmallSpBigSdBigS;//8
extern float pRoundRAdRoundRApRoundRBdRoundRBpRoundRCdRoundRCpRoundRDdRoundRDpRoundREdRoundRE;//10
extern float pRoundLAdRoundLApRoundLBdRoundLBpRoundLCdRoundLCpRoundLDdRoundLDpRoundLEdRoundLE;//10
extern float pSpeediSpeed;//2
//环岛种类参数
extern byte firRoundsecRoundthiRoundfouRound;//4
//速度参数
extern uint16_t vNormalvTurnvLongvRound;//4
extern uint16_t vSmallSvBigSvCrossvPerCrossvShortvRumpvStartUpvLObstaclevRObstacle;//5
//特殊参数
extern uint8_t dirMidLineforeLineendLineCntrumpCntroundAllCntroundJudgerumpMaxField;//5
extern uint16_t direMiddledireBigdireLittlefieldTimer;//4
/*
//1 0-3
mode imaValue protect oledSwitch
//2-3 4-11
vNormal vTurn vLong vRound
vRump
//4-5 12-19
kps kds
kpL kdL kpR kdR
//6-7 20-27
pRoundR dRoundR pRoundL dRoundL
pd
//8-9 28-35
direMiddle dirBig dirLittle dirMidLine
foreLine
//10 36-39
pMotor iMotor dMotor
*/
void MenuInit(void)
{
//1-8
#if (name_Num >= 1)
strcpy(hangs[1].name name1);
hangs[1].number = num1;
hangs[1].variation = variation1;
#endif
#if (name_Num >= 2)
strcpy(hangs[2].name name2);
hangs[2].number = num2;
hangs[2].variation =variation2;
#endif
#if (name_Num >= 3)
strcpy(hangs[3].name name3);
hangs[3].number = num3;
hangs[3].variation = variation3;
#endif
#if (name_Num >= 4)
strcpy(hangs[4].name name4);
hangs[4].number = num4;
hangs[4].variation = variation4;
#endif
#if (name_Num >= 5)
strcpy(hangs[5].name name5);
hangs[5].number = num5;
hangs[5].variation = variation5;
#endif
#if (name_Num >= 6)
strcpy(hangs[6].name name6);
hangs[6].number = num6;
hangs[6].variation = variation6;
#endif
#if (name_Num >=7)
strcpy(hangs[7].name name7);
hangs[7].number = num7;
hangs[7].variation = variation7;
#endif
#if (name_Num >= 8)
strcpy(hangs[8].name name8);
hangs[8].number = num8;
hangs[8].variation = variation8;
#endif
//9-20
#if (name_Num >= 9)
strcpy(hangs[9]
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-07-03 00:14 B-Fighter10-2.8\
目录 0 2018-07-03 00:14 B-Fighter10-2.8\OBJ\
文件 19 2018-05-31 19:46 B-Fighter10-2.8\OBJ\ExtDll.iex
文件 1092420 2018-06-18 17:49 B-Fighter10-2.8\OBJ\MK66_HDU.axf
文件 1340 2018-06-18 17:55 B-Fighter10-2.8\OBJ\MK66_HDU.build_log.htm
文件 102296 2018-06-18 17:49 B-Fighter10-2.8\OBJ\MK66_HDU.htm
文件 966 2018-06-18 17:49 B-Fighter10-2.8\OBJ\MK66_HDU.lnp
文件 479 2018-04-04 10:41 B-Fighter10-2.8\OBJ\MK66_HDU.sct
文件 71230 2018-06-18 17:55 B-Fighter10-2.8\OBJ\MK66_HDU_MK66_HDU.dep
文件 624360 2018-06-18 14:57 B-Fighter10-2.8\OBJ\adc.crf
文件 851 2018-06-18 14:57 B-Fighter10-2.8\OBJ\adc.d
文件 790364 2018-06-18 14:57 B-Fighter10-2.8\OBJ\adc.o
文件 685277 2018-04-22 12:22 B-Fighter10-2.8\OBJ\advanced_menu.crf
文件 3175 2018-04-22 12:22 B-Fighter10-2.8\OBJ\advanced_menu.d
文件 868564 2018-04-22 12:22 B-Fighter10-2.8\OBJ\advanced_menu.o
文件 660905 2018-06-18 14:57 B-Fighter10-2.8\OBJ\all_init.crf
文件 2210 2018-06-18 14:57 B-Fighter10-2.8\OBJ\all_init.d
文件 829316 2018-06-18 14:57 B-Fighter10-2.8\OBJ\all_init.o
文件 621902 2018-06-18 14:57 B-Fighter10-2.8\OBJ\cmt.crf
文件 851 2018-06-18 14:57 B-Fighter10-2.8\OBJ\cmt.d
文件 787648 2018-06-18 14:57 B-Fighter10-2.8\OBJ\cmt.o
文件 620475 2018-06-18 14:57 B-Fighter10-2.8\OBJ\common.crf
文件 825 2018-06-18 14:57 B-Fighter10-2.8\OBJ\common.d
文件 783144 2018-06-18 14:57 B-Fighter10-2.8\OBJ\common.o
文件 0 2018-04-30 10:41 B-Fighter10-2.8\OBJ\contral.d
文件 622703 2018-06-18 14:57 B-Fighter10-2.8\OBJ\control.crf
文件 894 2018-06-18 14:57 B-Fighter10-2.8\OBJ\control.d
文件 791008 2018-06-18 14:57 B-Fighter10-2.8\OBJ\control.o
文件 621039 2018-06-18 14:57 B-Fighter10-2.8\OBJ\dac.crf
文件 851 2018-06-18 14:57 B-Fighter10-2.8\OBJ\dac.d
文件 785532 2018-06-18 14:57 B-Fighter10-2.8\OBJ\dac.o
............此处省略211个文件信息
- 上一篇:2016最新EX4 反编译
- 下一篇:ssh-patient.rar
相关资源
- ssh-patient.rar
- 精通WindowsPowerShell脚本编程+WindowsPow
- LearningOpenCV中文版-于仕琪书源码.zip
- iKuai-H1ap.bin
- mathpix_snipping_tool_setup.exe
- six公式超级计算分析师.exe
- Xshell6-破解版.zip
- anyconnect-win-4.6.03049-predeploy-k9.zip
- JJQQKK-2.6.7.msi
- 迅捷pdf编辑器破解版(2).rar
- 迅捷PDF编辑含注册码.zip
- JungoWinDriver10.21win32win64withcrack.rar
- sog.rar
- 深入浅出强化学习:原理入门.epub
- 9-6trirotate.rar
- ShoppingCarBestImplementation.zip
- AlarmAlert_csdn.zip
- 唐会时时彩源码.rar
- 电科科大网教学习平台秒挂课程2019版
- IOS最新版Shadowrocket.rar
- 汉和娱乐城.zip
- 富贵3搭建教程.rar
- GG代码转XS内存工具.zip
- 新建文件夹(3)(1).zip
- CiscoanyConnect4.6.zip
- BuildingDataCenterswithVXLANBGPEVPN-Cisco.pdf
- 深度学习基础(FundamentalsofDeepLearnin
- VPN文献及资料.rar
- 党务政务公开触摸屏查询系统.rar
- [H3CSE-Security课程]《构建安全VPN(v1.
评论
共有 条评论