From 8f5af1f98bd81f3641a0e5de215913c98ea8394c Mon Sep 17 00:00:00 2001 From: Neucrack Date: Thu, 17 Oct 2024 19:11:54 +0800 Subject: [PATCH] test --- components/ext_dev/include/maix_imu.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/ext_dev/include/maix_imu.hpp b/components/ext_dev/include/maix_imu.hpp index c3ae86a8..dfd812d5 100644 --- a/components/ext_dev/include/maix_imu.hpp +++ b/components/ext_dev/include/maix_imu.hpp @@ -108,11 +108,11 @@ class IMU { * @maixpy maix.ext_dev.imu.IMU.__init__ */ IMU(std::string driver, int i2c_bus=-1, int addr=0x6B, int freq=400000, - maix::ext_dev::imu::Mode mode=maix::ext_dev::imu::Mode::DUAL, - maix::ext_dev::imu::AccScale acc_scale=maix::ext_dev::imu::AccScale::ACC_SCALE_2G, - maix::ext_dev::imu::AccOdr acc_odr=maix::ext_dev::imu::AccOdr::ACC_ODR_8000, - maix::ext_dev::imu::GyroScale gyro_scale=maix::ext_dev::imu::GyroScale::GYRO_SCALE_16DPS, - maix::ext_dev::imu::GyroOdr gyro_odr=maix::ext_dev::imu::GyroOdr::GYRO_ODR_8000, + maix::ext_dev::imu::Mode mode, + maix::ext_dev::imu::AccScale acc_scale, + maix::ext_dev::imu::AccOdr acc_odr, + maix::ext_dev::imu::GyroScale gyro_scale, + maix::ext_dev::imu::GyroOdr gyro_odr, bool block=true); ~IMU();