Comments (5)
current:
text data bss dec hex filename
118204 224 14156 132584 205e8 ./obj/main/cleanflight_NAZE.elf
with Madgwick AHRS
arm-none-eabi-size ./obj/main/cleanflight_NAZE.elf
text data bss dec hex filename
122212 220 14160 136592 21590 ./obj/main/cleanflight_NAZE.elf
Madgwick's AHRS took almost 4kb flash! I'll try see if it works better than complementary filter.
from inav.
Bench tests show that with Madgwick's AHRS heading is much more locked in (when using a compass). I've noticed that after a series of fast pitch-roll rotations complementary filter showed arbitrary heading and took half a second to correct using a compass. Using very same settings and same test Madgwicks AHRS was totally locked in.
But nothing comes without a price - for this I'm paying with extra 4k flash and lots of CPU cycles. When using complementary I was able to get looptime=1000, using AHRS I got only as low as looptime=1400. CPU is spending alot of time calculating AHRS.
Need to try it in-flight and see if it's worth it.
from inav.
Just tried to fly it - much worse than plain old complementary filter. HORIZON mode is very slow to react, copter feels mushy. That's probably due to incorrect beta used. Postponing this for now.
from inav.
Have you tried slowing loop time? Probably it could help
Il giorno 00:18 mar 04/ago/2015 Konstantin Sharlaimov <
[email protected]> ha scritto:
Just tried to fly it - much worse than plain old complementary filter.
HORIZON mode is very slow to react, copter feels mushy. That's probably due
to incorrect beta used. Postponing this for now.—
Reply to this email directly or view it on GitHub
https://github.com/digitalentity/cleanflight/issues/30#issuecomment-127420372
.
from inav.
I'm closing this as new NAV PID controllers seem to be doing their job pretty good with current IMU. Will re-open if still necessary.
from inav.
Related Issues (20)
- GPS Not working / Reset when upgraded to iNav 7 HOT 29
- HDzero Video Feed appearing black when using MSP HOT 1
- search zone (releases page) and links HOT 1
- stop motors on low throttle disabled but works on ALTHOLD STICKS HOT 3
- FBUS is not working HOT 13
- Beeper output stops working after GPS lock in Inav 7.1.0 HOT 1
- TMOTORF7V2 target need to add ICM42688 gyro support HOT 1
- Add ICM42688 to BLITZ F7 V1.2 Flight Controller (IFLIGHT BLITZ_F722) HOT 2
- HGLRC M100-5883 GPS Compass Module // Barometer issue HOT 1
- LED strip not working when load mixer on on iFlight BLITZ F435 HOT 1
- SpeedyBee F405 WING MINI PWM output "crashing"/Stuck when moving servos - Inav 7.1.2 HOT 7
- Automatic Landing did not work HOT 9
- Altitude hold not working properly. HOT 12
- LED Strip NEO Pixel 7 not working HOT 1
- Matek F405-SE can't connect compass to I2C1 HOT 2
- dual GPS support
- Display GPS coordinates as MGRS HOT 2
- iflight bliz f722 v1.2 can't use i2c HOT 7
- Can INAV be used on STM32f401 ?
- List of waypoints on the flysky fsi6b remote control screen HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inav.