-
cpp
用halcon编写的代码实例,用来给初学者学习(Use halcon code examples, for beginners learning
)
- 2014-10-21 09:56:24下载
- 积分:1
-
四旋翼飞行器的飞控程序
四旋翼飞行器的飞控程序,基于
#include "include.h"
float tem;
int main(void)
{
delay_init(SYSCLK_FREQ_72);
uart_init(72,115200);
AFIO_Init();
GPIO_Init(GPIOB,Pin_5,GPO_PP_50,LOW);
GPIO_Init(GPIOC,Pin_13,GPO_PP_50,LOW);
Ultra_Init(); //超声波初始化
TIM_PPM_Init(); //遥控器采集初始化
TIM_PWM_Init(CH1,400,4000); //电机控制初始化
TIM_PWM_Init(CH2,400,4000);
TIM_PWM_Init(CH3,400,4000);
TIM_PWM_Init(CH4,400,4000);
ANBT_I2C_Configuration(); //IIC初始化
delay_ms(500);
AnBT_DMP_MPU6050_Init(); //6050DMP初始化
delay_ms(500);
InitHMC5883(); //HMC5883初始化
delay_ms(500);
updateHMC5883();
tem=MAG_angle;
delay_ms(500);
Wake_up_Lock();
FTM_Init(2);
while(1)
{
UnLock_Lock();
}
}
stm32,利用mpu6050内部自带的DMP融合姿态角,采用串级PID算法来完成平衡控制。有很大的参考价值。
- 2022-07-17 11:37:24下载
- 积分:1
-
TouchScreen_C
本软件一个处摸屏驱动软件,在ads上编译(Office of the software a touch-screen software, compiled in ads)
- 2006-10-30 09:17:47下载
- 积分:1
-
ldpc
matlab运行仿真ldpc的编译码算法,高效可靠,易于理解(matlab run a simulation ldpc encoding and decoding algorithm, efficient and reliable, easy to understand)
- 2012-05-18 11:01:47下载
- 积分:1
-
rotation-and-scaling
对图像进行旋转和缩放的源代码,支持原图像的抽样处理及任意角度的旋转(The image rotation and scaling in any direction)
- 2014-11-25 14:27:18下载
- 积分:1
-
_395_C Primer Plus 第6版 非扫描版 中文版
说明: c primer plus 第六版 中文版,学习才。语言入门的绝佳书籍,对c语言的描述及其全面,且循序渐进。(C primer plus the sixth edition of Chinese version, learning talent. The excellent book of language introduction, C language description and comprehensive, and step by step.)
- 2020-12-15 21:40:04下载
- 积分:1
-
38K_infrared
38K infrared
- 2011-03-16 11:01:20下载
- 积分:1
-
TSP
说明: 使用蚁群算法编写的C++环境下的旅行商(TSP)经典问题的解决方法(Ant colony algorithm using C++ environment, prepared under the traveling salesman (TSP) classical solution to the problem)
- 2020-12-20 01:19:09下载
- 积分:1
-
ADC取电池电压
基于STM32L151R8T6的ADC取电池电压例程。程序测试可用。使用STM32HAL函数,方便各位同学学习,HAL的相关操作。
- 2022-05-06 04:53:37下载
- 积分:1
-
office-sql-vc
说明: vc+sql企业办公系统,企业办公系统,功能比较全,可以适当修改为己所用(vc+ sql enterprise office systems, full-function, appropriate changes can be used for its own)
- 2009-07-27 23:31:34下载
- 积分:1