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();