CAVOK-IT / Python-Navio

Navio Python extension
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Enable MPU9250 support. #2

Open bennierex opened 9 years ago

bennierex commented 9 years ago

Need to re-enable MPU9250 support while working on the enhanced IMU code.

bennierex commented 9 years ago

Hi,

I’m sorry for the late reply, but I was on vacation until yesterday.

You might have a version in which the IMU functions are disabled (the code needs more work before it can be used reliably). I’ve done some modifications that should fix the issue. Also the GPS code has been modified significantly. If all goes well, I will upload the revised code later this week to Github. I’ll send you an e-mail afterwards, so you can try it.

Please let me know if you find more issues or have specific wishes in terms of functionality.

Thanks for your feedback!

Best regards, Ben Rexwinkel

From: ThoSc Reply-To: CAVOK-IT/Python-Navio Date: Thursday 9 July 2015 12:15 To: CAVOK-IT/Python-Navio Cc: Ben Rexwinkel Subject: Re: [Python-Navio] Enable MPU9250 support. (#2)

Hi,

I am trying to use your code (btw I find this a very good initiative) on a RPI B+ w/ Navio+ (and I must add I am completely new to the code). I don't know if my problem has something to do with this issue.

I get the following message when trying to read the data from the IMU (I am using python3)

import navio from navio import RPI_MODEL_B_PLUS, NAVIO_PLUS, BIT_COMPONENTS_ALL, RC_MODE_PPM nio = navio.Navio(rpi_model=RPI_MODEL_B_PLUS, navio_model=NAVIO_PLUS, rc_input_signal=RC_MODE_PPM, enabled_components=BIT_COMPONENTS_ALL) nio.IMU_get_motion6() Traceback (most recent call last): File "", line 1, in AttributeError: 'navio.Navio' object has no attribute 'IMU_get_motion6'

Do you have any idea ?

— Reply to this email directly or view it on GitHub.