Coder Social home page Coder Social logo

fastimu's People

Contributors

alanvictor48 avatar deemdeem52 avatar jx5s avatar liquidcgs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fastimu's Issues

MPU9250 crashes.. Here's the fix :)

Hi,

During testing, I found that my esp32 was crashing when using the MPU9250 from your library.
I found the issue to be that in F_MPU9250.cpp, the function int MPU9250::initMagnetometer() doesn't return an int.

Cheers!

Hope Support BMI270

I have a BMI270, want it word on Arduino nano, other library is too big, hex too large, can't upload to Nano.

MPU6886::calibrateAccelGyro() failure

Hi,
trying Calibrated_sensor_output.ino with an esp32 and an MPU6886

MPU6886::calibrateAccelGyro() fails to read back the FIFO sample count here - the readBytes() request is NAK'd, hence fifo_count is zero, resulting in a divide-by-zero here

image

not sure what to do about it, short from replacing gyro calibration with averaging

thanks!
Michael

ps: using Platformio, esp_wrover_kit 4.1 with JTAG, Salea LA
versions are:

Platform espressif32 @ 6.1.0 (required: espressif32)
├── framework-arduinoespressif32 @ 3.20007.0 (required: platformio/framework-arduinoespressif32 @ ~3.20007.0)
├── tool-cmake @ 3.16.4 (required: platformio/tool-cmake @ ~3.16.0)
├── tool-esptoolpy @ 1.40500.0 (required: platformio/tool-esptoolpy @ ~1.40500.0)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── tool-ninja @ 1.9.0 (required: platformio/tool-ninja @ ^1.7.0)
├── tool-openocd-esp32 @ 2.1100.20220706 (required: platformio/tool-openocd-esp32 @ ~2.1100.0)
├── toolchain-esp32ulp @ 1.23500.220830 (required: platformio/toolchain-esp32ulp @ ~1.23500.0)
├── toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5)
└── toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5)

MPU-6050 not recognized

I have a MPU-6050 and was trying to make it work with FastIMU, unfortunately i get an error code of -1, that lead me to thinking that my sensor was broken, but when I try to read raw data from it I get a response, also when I scan i2c connections i get a positive one at address 0x68

(Image of output from Nick Gammon's i2c scanner)
image

(Image of output from the IMU identifier)
image

The magnetometer issue in F_MPU6500.cpp

The magnetometer for my unit cannot use the the set pass mode from the code. Hence I suggest we used this code

writeByte(IMUAddress, MPU6500_INT_PIN_CFG, 0x02);	//enable Magnetometer bypass
writeByte(IMUAddress, MPU6500_INT_ENABLE, 0x01);    // Enable data ready (bit 0) interrupt

**Before this the code use 0x22 to enable Magnetometer to bypass.

Units of Measurement

What units of measurement does this library output? Is the acceleration in Gs or m/s^2? Is the gyro data in rad/s?

Support for BMI160+BMM150

The BMM150 can be connected to the BMI160, allowing for the magnetometer data to be read via the BMI160 along with gyro and accel.
I have searched and been unable to find any libraries supporting this properly, will you consider adding support for this?

How to change sample rate

Hi! First of all, thank you very much for your very versatile library.
I tried to search before posting the question, without any luck, but still I fear this is a common question which I am going to ask again...
Is there any way to change the sample rate with this library?
I'd like to modify the frequency of my MPU6050

An error occurred while compiling

Ardunio 2.1.1

Fast IMU 1.2.1

An error occurred while compiling

In file included from c:\Users\11984\Documents\Arduino\libraries\FastIMU\src/FastIMU.h:18,
                 from C:\Users\11984\Documents\Arduino\sketch_jul25a\sketch_jul25a.ino:1:
c:\Users\11984\Documents\Arduino\libraries\FastIMU\src/F_QMC5883L.hpp: In member function 'virtual int QMC5883L::setGyroRange(int)':
c:\Users\11984\Documents\Arduino\libraries\FastIMU\src/F_QMC5883L.hpp:45:40: error: no return statement in function returning non-void [-Werror=return-type]
   45 |  int setGyroRange(int range) override {};
      |                                        ^
c:\Users\11984\Documents\Arduino\libraries\FastIMU\src/F_QMC5883L.hpp: In member function 'virtual int QMC5883L::setAccelRange(int)':
c:\Users\11984\Documents\Arduino\libraries\FastIMU\src/F_QMC5883L.hpp:46:41: error: no return statement in function returning non-void [-Werror=return-type]
   46 |  int setAccelRange(int range) override {};
      |                                         ^
cc1plus.exe: some warnings being treated as errors

exit status 1

Compilation error: exit status 1

The file with compilation error is examples/Calibrated_HadesVR/Calibrated_HadesVR.ino
My current setup is preferences->compiler warnings->none
Is my problem?🤔
Thanks.

Does this work with BMX160?

Does this library work with BMX160? and give our calibrated Quaternion output?

Because the sensor is not mentioned in the comments.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.