更新modbus,更新rtthread
This commit is contained in:
32
bsp_Device/bsp_math/Quaternion.h
Normal file
32
bsp_Device/bsp_math/Quaternion.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*----------------------------------------------------------------------------------------------------
|
||||
# THIS FILE IS PART OF XEROLYSKINNER'S PROJECT
|
||||
# Quaternion - The core part of the project
|
||||
#
|
||||
# THIS PROGRAM IS FREE SOFTWARE
|
||||
#
|
||||
# Copyright (c) 2021 XerolySkinner
|
||||
# E-mail:ZABBCCCBBAZ@163.COM
|
||||
# QQ:2715099320
|
||||
#
|
||||
# All rights reserved.
|
||||
*/
|
||||
|
||||
/*----------------------------------------------------------------------------------------------------
|
||||
名字:Quaternion
|
||||
时间:20211229-2153
|
||||
程序员:梁源康
|
||||
说明:四元素换算
|
||||
*/
|
||||
#ifndef _XEROLYSKINNER_QUATERNION_H
|
||||
#define _XEROLYSKINNER_QUATERNION_H
|
||||
#include "main.h"
|
||||
#define MPUDATA Trx,Try,Trz,Tax,Tay,Taz
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// 程序
|
||||
//
|
||||
float IMUupdate(float gx,float gy,float gz,float ax,float ay,float az);
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
//管脚定义
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user