Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Oct 17, 2024
1 parent 9e5ca27 commit 8f5af1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/ext_dev/include/maix_imu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 8f5af1f

Please sign in to comment.