Search found 16 matches

by Dennis D
Sun Oct 25, 2015 6:52 pm
Forum: General discussions
Topic: Big Brother takes control again
Replies: 1
Views: 1534

Re: Big Brother takes control again

Unfortunately...I completely agree with your rant.
Idiots are ruining a hobby that I respect and enjoy.
Nothing good happens when government has to get involved.
by Dennis D
Wed Sep 02, 2015 8:53 pm
Forum: Software development
Topic: Autotune
Replies: 0
Views: 1452

Autotune

Has anyone done an autotune function for MW. I know about BradWii (with autotune) and the autotune port to cleanflight....Not what I want.... I like the concept of Brad Quik's autotune but it requires the use of BradWii which is a rewrite of MW. It would be good to have B Quik's autotune that runs o...
by Dennis D
Mon Aug 31, 2015 10:51 pm
Forum: Shields, boards and sensors
Topic: MWC 2.5 LED fast blinking (NO sensors)
Replies: 5
Views: 3922

Re: MWC 2.5 LED fast blinking (NO sensors)

Hello, I have (or had) Crius MW SE 2.5 from BG. It was running MW 2.4. NP. The I2C communications to the on board sensors completely and abruptly failed! Somehow, this also destroyed the FTDI (strange!). The I2C errors cause the fast blinking LED (no sensors!). The FC still has some functionality. B...
by Dennis D
Wed Aug 26, 2015 3:02 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

Re: MW2.4 IMU.cpp bugs?

David Just an additional note.... alt.EstAlt = (alt.EstAlt * 6 + BaroAlt * 2) >> 3; can be simplified to: alt.EstAlt = (alt.EstAlt * 3 + BaroAlt) >> 2; This yields correct calculation and identical damping effect and eliminates an un-neccessary runtime multiplication operation. (faster is always bet...
by Dennis D
Wed Aug 26, 2015 2:42 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

Re: MW2.4 IMU.cpp bugs?

David The code should be reverted to: baroGroundTemperatureScale = ((int32_t)baroTemperature + 27315) * 29.271267f; ...and... alt.EstAlt = (alt.EstAlt * 6 + 2 * BaroAlt) >> 3; The reverted code corrects the calculation of 'baroGroundTemperatureScale' : this fixes a bug . It should be noted that the ...
by Dennis D
Mon Aug 24, 2015 3:48 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

Re: MW2.4 IMU.cpp bugs?

I just found out what 'Hanlon's Razor' means....
hehe...
And...yes I agree.
Thanks for that....

Dennis
by Dennis D
Mon Aug 24, 2015 2:57 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

Re: MW2.4 IMU.cpp bugs?

Thank you for answering the question....
It is what I thought...
Corrects a bug and also eliminates 1 runtime multiplication...

Dennis
by Dennis D
Sun Aug 23, 2015 11:37 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

Re: MW2.4 IMU.cpp bugs?

So...
What was the reason for writing the code like that?
Why not include comments that explain this?
It is open source and other people will look at it.
by Dennis D
Sun Aug 23, 2015 6:03 am
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

Re: MW2.4 IMU.cpp bugs?

I found this link that pertains to the IMU.cpp code: https://git.ece.iastate.edu/microcart/microcart/blob/570004ca5732a7d0a81adbd719c66d07b9d465c7/misc/Multiwii/MultiWii/IMU.cpp The following is an excerpt from the link: if(calibratingB > 0) { logBaroGroundPressureSum = log(baroPressureSum); baroGr...
by Dennis D
Sat Aug 22, 2015 8:16 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

Re: MW2.4 IMU.cpp bugs?

All, Regarding deadband..... The idea of a deadband is to quiet "chatter" (noise) around a particular value (value = 0 for the IMU.cpp cases) and not affect other values outside of the deadband. Identical deadband functions can be cascaded (in series) and still produce the same output. e.g...
by Dennis D
Thu Aug 20, 2015 4:02 pm
Forum: Software development
Topic: MW2.4 IMU.cpp bugs?
Replies: 28
Views: 10218

MW2.4 IMU.cpp bugs?

I have Crius MW SE 2.5 on TL250 quad frame running MW2.4 I have 2 items that I think need review in the IMU.cpp file. Item 1: The existing applyDeadband() macro affects the values that are outside of the deadband region. This affects the calibration/linearity of the system. This is not a standard de...
by Dennis D
Fri Jul 24, 2015 4:41 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 56301

Re: Changing PID Values with a Pot

Hey All, Thanks for the this good idea. I have Tarot TL250 (quad) with Crius SE v2.5 & MW 2.4. I added an abbreviated version of this to my code for roll, pitch, level, altitude. I use PID_Controller 2 I have 5 chan tx so I used sticks to select which PID (used multiple profile selection code) a...
by Dennis D
Tue Jul 21, 2015 5:10 pm
Forum: Ideas
Topic: Improved PPM Processing Idea
Replies: 0
Views: 1848

Improved PPM Processing Idea

The analog transmitter and receiver from my CP heli has a range of about 400+ yards. I was quite disappointed when I used this setup on my quad (Crius SE V2.5 FC running MW 2.4) because I could only get reliable operation at about 200 feet or less! Bad! The problem was traced to occasional PPM glitc...
by Dennis D
Mon Jul 13, 2015 11:44 pm
Forum: Software development
Topic: MultiWiiConf Attitude Indicator Error?
Replies: 3
Views: 1822

Re: MultiWiiConf Attitude Indicator Error?

Hey carlonb,

Thanks for quick reply and explanation about the AH and the POV. I get it now. All is good.

Dennis
by Dennis D
Mon Jul 13, 2015 6:49 pm
Forum: Software development
Topic: MultiWiiConf Attitude Indicator Error?
Replies: 3
Views: 1822

MultiWiiConf Attitude Indicator Error?

This doesn't make sense to me.... MW2.40 Conf Attitude.jpg The attitude display (upper right) indicates roll to left but roll indicator shows roll to right. The graph displays the acc, gyro, mag roll axis and indicates roll to right on all sensors. BTW: The Android EZ-GUI app has the same display ch...
by Dennis D
Wed Jun 24, 2015 2:05 am
Forum: General discussions
Topic: [compass] magnetic interference from motor... solution?
Replies: 15
Views: 8115

Re: [compass] magnetic interference from motor... solution?

Hi, I have a MW SE 2.5 on Tarot TL250 frame. Mag was having serious interference problems creating yaw instability (about 20+ degrees shift). I cut up a tin can (for a shield), placed it directly under FC (about 3 mm froom PCB) and connected it directly to battery minus. This eliminated my mag probl...