iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.09k stars 1.46k forks source link

Omnibus f4 v3 plus with gyroscope bmi270 #8138

Closed LexResident closed 2 years ago

LexResident commented 2 years ago

Hi, I have a Aliexpress F4 V3 Plus with gyroscope bmi270 or bmi160 (can't define exactly). On BETAFLIGHT the board is called OmnibusF4SD, but INAV do not have such a board. The gyroscope is not detected on the INAV OMNIBUSF4V3 (OMNIBUS F4, OMNIBUSF4PRO and etc) firmware. Is there any board I could choose to flash INAV on it to make everything work.

Sincerely, DENIS. 174464648-9e23f960-6bc5-4896-861d-4a1fbf605b29.jpg

julianschweizer commented 2 years ago

I just gone through both target.h

Looks like that the INAV OMNIBUSF4V3 target.h OMNIBUSF4V3 uses the MPU6000 and MPU6500 driver aswell as the BMP280 driver.

As far as I see it right Betaflight target.h for OMNIBUSF4SD is linked with both MPU6000 and MPU6500 drivers and also BMP280.

Is betaflight working the right way?

LexResident commented 2 years ago

I just gone through both target.h

Looks like that the INAV OMNIBUSF4V3 target.h OMNIBUSF4V3 uses the MPU6000 and MPU6500 driver aswell as the BMP280 driver.

As far as I see it right Betaflight target.h for OMNIBUSF4SD is linked with both MPU6000 and MPU6500 drivers and also BMP280.

Is betaflight working the right way?

Yes, betaflight works correctly. After the firmware is immediately determined by the system. Screenshot_1

And on INAV the gyroscope does not see even if you select BMI 270 or any other possible one from the list.

Screenshot_2

julianschweizer commented 2 years ago

Well, the Ali listing says "Betaflight only" .... .

You can try to compile your own firmware. I did this with 4.1 and the following targets for you. Give it a shot. You may need to modify it further. Please read https://github.com/iNavFlight/inav/tree/master/docs/development

target OMNIBUSF4.zip inav_4.1.0_OMNIBUSF4V3.zip

Anyhow: No further assistance from my side. I strongly recommend to buy suggested hardware e.g. from MATEK ... !

LexResident commented 2 years ago

With this firmware, the accelerometer is also not detected. I will understand and compile for my flight controller. Please recommend a good guide for this.

JulioCesarMatias commented 2 years ago

We really need to add this support... Since the MPU-6000 is no longer produced, it has now been replaced by the BMI270

Anandan1963 commented 2 years ago

for me also same issue. inav is not showing gyro,but showing accelerometer,baro. please help to solve this issue

JulioCesarMatias commented 2 years ago

I was looking at this just now, I made some modifications and I have a build for you guys to test... the firmware was compiled in version 6.0, you need to download configurator 6.0 here >> http://seyrsnys.myzen.co.uk/inav-configurator-next/ Firmware >> inav_6.0.0_OMNIBUSF4V3.zip

LexResident commented 2 years ago

Thank you very much! On this firmware BMI270 works! I didn't even expect to be helped. Thank you!

LexResident commented 2 years ago

Many will be happy if BMI270 support is added to permanent support.

Zileg72 commented 2 years ago

Hi JulioCesarMatias! It's working! Good work! Thank you!!!

JulioCesarMatias commented 2 years ago

Many will be happy if BMI270 support is added to permanent support.

I opened a PR, now it's waiting for Pawel to approve and merge.

wawanlost commented 1 year ago

saya tidak dapat menemukan barometer pada papan ini...saya sudah memflash inav 6.0...itu hanya mendapatkan accelerometer..baro tidak terbaca...apakah kesalahan ada pada hardware..?...padahal saya baru saja membelinya...dan accelerometer tidak bisa dikaliibrasi...dibetaflight itu baik baik saja..

i cant find barometer on this board...i already flashed inav 6.0...it only get accelerometer..baro not read...is hardware fault..?...even though i just bought it... and the accelerometer can't be calibrated... on betaflight it's fine...

DzikuVx commented 1 year ago

Niestety nie rozumem o czym piszesz. A szkoda ...

wawanlost commented 1 year ago

Screenshot (10) Screenshot (11) Screenshot (12)

cant find barometer on this board...i already flashed inav 6.0...it only get accelerometer..baro not read...is hardware fault..?...even though i just bought it... and the accelerometer can't be calibrated... on betaflight it's fine...

has anyone had success using this flight control on inav..?

godi182 commented 1 year ago

I have the same problem . gyroscopio works in betafligbetaflight but it is not recognized in inav . please help me . fc matek f405 std bmi270 giroscope ![Uploading IMG_20221230_014157.jpg…]()

parahromis commented 1 year ago

OmnibusF4v3sPlus Hello. I checked several versions - Inav, Clean Flight, Betaflight, the magnetometer does not work. Accelerometer, gyroscope, barometer - work without problems.

Brynod commented 1 year ago

OmnibusF4v3sPlus Hello. I checked several versions - Inav, Clean Flight, Betaflight, the magnetometer does not work. Accelerometer, gyroscope, barometer - work without problems.

I had this problem.... Try changing I2C speed to 200khz,the software will that this is too slow but this is the only way I could get compass to work. Hope this helps