From 827a871299ad539f3c07459f07766611a3c27a60 Mon Sep 17 00:00:00 2001 From: Robofish <1683502971@qq.com> Date: Mon, 6 Oct 2025 20:46:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- User/task/imu.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/User/task/imu.c b/User/task/imu.c index 580e291..e31a73c 100644 --- a/User/task/imu.c +++ b/User/task/imu.c @@ -27,12 +27,12 @@ #define ACCEL_CAN_MIN (-58.8f) #define GYRO_CAN_MAX (34.88f) #define GYRO_CAN_MIN (-34.88f) -#define PITCH_CAN_MAX (M_PI_2) /* π/2 弧度 ≈ 90° */ -#define PITCH_CAN_MIN (-M_PI_2) /* -π/2 弧度 ≈ -90° */ -#define ROLL_CAN_MAX (M_2PI) -#define ROLL_CAN_MIN (-M_2PI) -#define YAW_CAN_MAX (M_2PI) -#define YAW_CAN_MIN (-M_PI_2) /* -π 弧度 ≈ -180° */ +#define PITCH_CAN_MAX (M_PI_2) /* π/2 弧度 ≈ 90° */ +#define PITCH_CAN_MIN (-M_PI_2) /* -π/2 弧度 ≈ -90° */ +#define ROLL_CAN_MAX (M_PI) /* π 弧度 ≈ 180° */ +#define ROLL_CAN_MIN (-M_PI) /* -π 弧度 ≈ -180° */ +#define YAW_CAN_MAX (M_PI) /* π 弧度 ≈ 180° */ +#define YAW_CAN_MIN (-M_PI) /* -π 弧度 ≈ -180° */ #define QUATERNION_MIN (-1.0f) #define QUATERNION_MAX (1.0f)