摘要: 1. MPU数据获取 MPU6050 mpu; mpu.testConnection();//测试MPU是否连接成功 mpu.initialize(); mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz); //获取加速度和陀螺仪数据 mpu.getAccele 阅读全文
posted @ 2022-08-07 16:41 dsfsadfdgd 阅读(53) 评论(0) 推荐(0) 编辑