更新陀螺仪相关设置

This commit is contained in:
2023-12-24 15:39:44 +08:00
parent c5e64f3cb0
commit 815a9821a0
4 changed files with 58 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
#ifndef _BY_IMU_H__
#define _BY_IMU_H__
#include "stdio.h"
#include <stdio.h>
#include "ch32v30x.h"
typedef struct {
float gyro_x;
@@ -33,6 +33,7 @@ typedef struct {
extern icm_param_t icm_data;
extern euler_param_t eulerAngle;
extern gyro_param_t GyroOffset;
void gyroOffset_init(void);