-
状态机
/*
*状态机实现由switch和函数指针两种方式:
在实现有限状态机时,使用switch语句是最简单也是最直接的一种方式,其基本思路是为状态机中的每一种状态都设置一个case分支
一个函数指针数组可以像下面这样声明:
void (*state[MAX_STATES]) ();
如果知道了函数名,就可以像下面这样对数组进行初始化。
extern int a(),b(),c(),d();
int (*state[]) ()={a,b,c,c};
可以通过数组中的指针来调用函数:
(*state[i]) ();
* */
- 2022-02-05 14:21:47下载
- 积分:1
-
EKF.RAR
实现GPS+IMU扩展卡尔曼滤波组合导航,重力场和磁场推算姿态(Achieve the GPS+ IMU extended Kalman filter integrated navigation, gravity field and magnetic field profile projection)
- 2009-09-15 14:45:33下载
- 积分:1
-
model
遗传算法matlab程序 tsp旅行商问题(matlab yuanchengxu)
- 2013-08-10 16:23:55下载
- 积分:1
-
使用PC作为双串口中继器 用于开发板与模块间串口通信监视等~...
使用PC作为双串口中继器 用于开发板与模块间串口通信监视等~-The use of PC as a dual-serial port repeater panels and modules for the development of serial communication between monitor and so on ~
- 2022-12-13 08:15:03下载
- 积分:1
-
一款用directUI开发的斗地主界面
用direct UI 开发的仿斗地主界面,比较实用的一款代码,下载后,实测用vs2010可以编译成功,并显示正常功能,感觉有点啰嗦了~~~~
- 2023-03-04 02:25:03下载
- 积分:1
-
windnet_can_programmers_guide_1.3.2
windRiver环境下,关于怎样开发can驱动的标准文档(WindRiver environment, on how to develop the standard document can drive)
- 2016-01-11 10:18:38下载
- 积分:1
-
四种排序,C++语言,链表
自己写的四种排序源码,有注释,分存适合新手学习,而且有链表。用C++语言进行编写,采样codeblock软件编写的,大家在不懂的时候也可以站内私我哦,我会积极回复的哈,
- 2022-05-26 11:53:34下载
- 积分:1
-
ex2
用画笔绘制圆角矩形,椭圆,饼形,并用不同颜色画刷进行填充。(Draw a rounded rectangle, ellipse, pie with a brush, and brush with a different color fill.)
- 2013-12-07 23:42:44下载
- 积分:1
-
MultiThread
创造了这个应用程序向导为您FtpDown申请。此应用程序
不仅展示了使用Microsoft基础类的基本知识
而且也是写你的应用程序的起点。(AppWizard has created this FtpDown application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.)
- 2009-09-22 10:35:28下载
- 积分:1
-
chaoleiyouxi
这是我自己用MATLAB编的一个扫雷小游戏,程序比较经典,希望和大家一起分享.(This is for my own use MATLAB series of the game a small mine, the procedure is classic, want to share with everyone.)
- 2007-05-05 10:11:06下载
- 积分:1