New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPU-9250 not detected #30
Comments
What version of rtimulib2 are you using.
…On 9/15/19, Quentin Gaultier ***@***.***> wrote:
Running `python pypilot/boatimu.py` with a MPU-9250 plugged gives me _No IMU
detected_, even though `sudo i2cdetect -y 1` finds it on 0x68.
Moreover the output of
`watch -n.1 python gyro.py`
gives me some confidence that the MPU is healthy.
[gyro.py](https://tutorials-raspberrypi.com/measuring-rotation-and-acceleration-raspberry-pi/)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#30
|
I tried many, but mainly https://github.com/seandepagnier/RTIMULib2/ |
There is an example program in RTIMULib2/Linux/Drive
This tests only rtimulib2 and uses no python. Make sure to delete
the .ini file before running.
Are you sure you don't have a system RTIMULib installed somehow? Can
you try tinypilot image on your raspberry pi?
…On 9/17/19, Quentin Gaultier ***@***.***> wrote:
I tried many, but mainly https://github.com/seandepagnier/RTIMULib2/
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#30 (comment)
|
If you are in Raspbian you may have already installed rtimulib from another package, try: |
Apparently |
What is the output? What does i2cdetect say?
…On 9/23/19, Quentin Gaultier ***@***.***> wrote:
Apparently `sense-hat` was not installed.
I installed a fresh openplotter_v1.0.0.img and connected my MPU-9250/6500
trying `RTIMULibDrive` from /home/pi gave the same `No IMU found`
The python is working.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#30 (comment)
|
|
It must be something in the code that considers your mpu9255 not to be
detected. At this point I would get a working mpu9255, or single
step the rtimulib2 code to find out why it doesn't detect the
device on 0x68.
…On 9/24/19, Quentin Gaultier ***@***.***> wrote:
```
***@***.***:~ $ RTIMULibDrive
Settings file not found. Using defaults and creating settings file
No IMU detected
Using fusion algorithm RTQF
No IMU found
```
```
***@***.***:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
```
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#30 (comment)
|
Logging the result value gives: 0x78 instead of 0x71 or 0x73 |
Running
python pypilot/boatimu.py
with a MPU-9250 plugged gives me No IMU detected, even thoughsudo i2cdetect -y 1
finds it on 0x68.Moreover the output of
watch -n.1 python gyro.py
gives me some confidence that the MPU is healthy.
gyro.py
The text was updated successfully, but these errors were encountered: