iNavFlight / inav

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

need firmware support for OMNIBUSF4V3 #10406

Open sujal141005 opened 1 month ago

sujal141005 commented 1 month ago

Current Behavior I'm using an AliExpress F4 flight controller with the ICM-42688 gyro. The flight controlle when flashed wth the OMNIBUSF4V3 does not show any gyro movement in inav. After modifying the code to switch from the BMI270 and MPU-6500 to the ICM-42688, I still encountered build errors when compiling for the omnibusf4v3 target, I'm really a beginner.

Desired Behavior I would like support for the ICM-42688 gyro sensor to be added for the omnibusf4v3 target.

Suggested Solution Add proper support for the ICM-42688 gyro in the firmware for this flight controller.

Who does this impact? Who is this for? This is for users with flight controllers using the ICM-42688 gyro and also whoever is trying to use this or similar fc for planes.

Additional context I'm using an AliExpress F4 flight controller with the ICM-42688 gyro. Link to the flight controller: [https://www.aliexpress.com/item/1005007354050504.html?spm=a2g0o.cart.0.0.6e8938daC6wFCO&mp=1#nav-specification].

sensei-hacker commented 1 month ago

I am hesitant to start making changes to the Airbot Omnibus target, which works perfectly well for Omnibus boards, in order to have it instead run a completely different board from a different manufacturer.

If the manufacturer of this board would like to provide the needed information, we might be able to make a target for that board. Messing around with the target for a well-known, well-supported board from a reputable manufacturer in order to have it run a no-name Ali board that we don't have data for ... I'm not sure that makes sense.

sujal141005 commented 1 month ago

I understand where you're coming from but I really just want help creating a custom target since you have the build environment ready just like it says in the docs. And that once a target header is made future people can just find this issue and fix their problem without a new board needing to be added to inav source code. I would be very grateful if you could help me out with this. everything other than the gyro seems to be working fine.

sensei-hacker commented 1 month ago

You can unzip the attached file and test it. It's not in any way an official INAV target. It hasn't been tested - by me or anyone else. You can volunteer to test it if you wish. It may fly very well for you. It may fly upside-down. It may fly away.

inav_7.1.2_ALIFAKEOMNIBUSV3S.zip

sujal141005 commented 1 month ago

you're a life saver! everything seems to be working so far, thank you so much! i will have to test it on ground, will update if anything goes wrong.