陀螺仪欧拉角的计算

This commit is contained in:
bmy
2023-12-22 22:39:59 +08:00
parent 2dffcf04f0
commit 20666b0c75
5 changed files with 212 additions and 36 deletions

View File

@@ -102,6 +102,8 @@ int main(void)
cw_servo_init();
while (imu660ra_init())
;
gyroOffset_init();
pit_ms_init(TIM6_PIT, 1);
while (1) {
// while (frame_count < 20) {
@@ -137,7 +139,7 @@ int main(void)
MidLineTrack();
}
by_imu_data_get();
// by_imu_data_get();
by_ips_show();
system_delay_ms(200);
}