Search found 1976 matches

by PatrikE
Sun May 29, 2011 9:10 pm
Forum: Software development
Topic: patterned sensor resets with last 3 dev releases
Replies: 21
Views: 6186

Re: patterned sensor resets with last 3 dev releases

Hi Alex
WMP gives normal data.
NB is showing crazy values.
Havn't tested WMP alone.

/Patrik
by PatrikE
Sun May 29, 2011 6:57 pm
Forum: Software development
Topic: patterned sensor resets with last 3 dev releases
Replies: 21
Views: 6186

Re: patterned sensor resets with last 3 dev releases

WMP+NK+Baro & MAG on a promini

I would say a little to unstable for a testflight..

/Patrik
by PatrikE
Sat May 28, 2011 12:49 pm
Forum: Software development
Topic: Barometer don´t work for me on MultiWii_dev20110516
Replies: 20
Views: 6218

Re: Barometer don´t work for me on MultiWii_dev20110516

Oops made a small error and it couldnt compile...
Corrected and replaced the file in previous post.

/Patrik
by PatrikE
Fri May 27, 2011 9:32 pm
Forum: Software development
Topic: Barometer don´t work for me on MultiWii_dev20110516
Replies: 20
Views: 6218

Re: Barometer don´t work for me on MultiWii_dev20110516

My last experiments.... Based on Dev 0516. Newer Devs dont work god with my NB. The altitudeCode is put in a Separate file. Absolutly NO Smothing in this VER. It's possible to enble smooting in code if wanted. Use PID in GUI. Tested with P=3. Also added tiltcompensation dicussed on AQ-forum. (Link i...
by PatrikE
Fri May 27, 2011 9:05 pm
Forum: Software development
Topic: patterned sensor resets with last 3 dev releases
Replies: 21
Views: 6186

Re: patterned sensor resets with last 3 dev releases

I Have same problem with.
NK Acc.
Wmp
Baro
mag

cykelTime is only 4000 now.
Used to be 6000.
by PatrikE
Fri May 27, 2011 6:40 pm
Forum: Software development
Topic: Barometer don´t work for me on MultiWii_dev20110516
Replies: 20
Views: 6218

Re: Barometer don´t work for me on MultiWii_dev20110516

Try this

Code: Select all

//***********************************************************
    float testVal = map(rcData[AUX1],1020,2000,0,20) /10;
    //Serial.println(testVal,DEC);
//***********************************************************
by PatrikE
Wed May 25, 2011 1:58 pm
Forum: Software development
Topic: Barometer don´t work for me on MultiWii_dev20110516
Replies: 20
Views: 6218

Re: Barometer don´t work for me on MultiWii_dev20110516

Is there any posibility to connect one value to a Chanel of the RC over Aux1 or so.C This should give you something to start with. //*********************************************************** uint8_t testVal = map(rcCommand[AUX1],1020,2000,0,20); //Serial.println(testVal); //**********************...
by PatrikE
Tue May 24, 2011 12:05 pm
Forum: Software development
Topic: errorAngleI
Replies: 6
Views: 2348

Re: errorAngleI

Tested the advice from Ziss_dm. The dif on Acc-Z is: 196 and -220 After adjusting of acc_1G to 212 The dif on Acc-Z is: 208 and -207 But The behavior is still there. Only thing is now its exacly same as Jussi described. Mine just drifted untill constrain stopt it before and stayed there no mather wh...
by PatrikE
Mon May 23, 2011 8:27 pm
Forum: Software development
Topic: errorAngleI
Replies: 6
Views: 2348

Re: errorAngleI

What if i add this?

Code: Select all

errorAngleI[axis] /=2;

It will give some smoothing but not with a 5 minutes history as it seems to be now?. :?:
by PatrikE
Mon May 23, 2011 3:00 pm
Forum: Software development
Topic: errorAngleI
Replies: 6
Views: 2348

Re: errorAngleI

I think JussiH have same issue described in this thead.
http://wbb.multiwii.com/viewtopic.php?f=8&t=229&p=1316#p1316

/Patrik
by PatrikE
Mon May 23, 2011 11:36 am
Forum: Software development
Topic: errorAngleI
Replies: 6
Views: 2348

errorAngleI

After flying a while my quad looses it´s ability to level with the Acc. The Gui shows it as well. Acc values for roll & pitch is 0 but the motors start to compensates as if it´s tilted. In flight. When Stable is enabled it tilts like The Gui shows. If i land and go to min tthrottle It will fly l...
by PatrikE
Sun May 22, 2011 10:15 am
Forum: Software development
Topic: Barometer don´t work for me on MultiWii_dev20110516
Replies: 20
Views: 6218

Re: Barometer don´t work for me on MultiWii_dev20110516

Sorry should not do last minute changes and publish without testing. Renamed a declare by misstake and forgot to compile and test the code first. The new file can be found in the previous post. After testing to day in windy conditions it´s clear that it´s not wery good. If ITtem & DTerm is remov...
by PatrikE
Sat May 21, 2011 9:36 pm
Forum: Software development
Topic: Barometer don´t work for me on MultiWii_dev20110516
Replies: 20
Views: 6218

Re: Barometer don´t work for me on MultiWii_dev20110516

New propellors on. Upload latest CodeMod in Mwii. Calibrate Acc Calibrate MAG Reduce PID For ACC Frech Battey Preflight check Skip the shit and fly instead... It Works Really god now!.. I changed the altitudeSmooth And made it more agressive. Removed the accSmooth. It only makes it perform bad. Now ...
by PatrikE
Sat May 21, 2011 7:13 pm
Forum: Software development
Topic: Barometer don´t work for me on MultiWii_dev20110516
Replies: 20
Views: 6218

Re: Barometer don´t work for me on MultiWii_dev20110516

I tried it to. Not so god. I have downe some tests using Acc Z-axis before. But Z-Axis only meassure chage of speed. Not actual movement. And can cause worse errors. Stable mode chrashed my quad. Anyone else tested it with Wii-NB?. It oscilated insane untill it flipped over and 2 props lost.. I Will...
by PatrikE
Mon May 09, 2011 9:53 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

But I have to say that the barometer works very good with the first version from this post here. I only have a Amplitude of 1 meter, sometimes only 50mm. Nice! Then im on the right track.. Alex. Is the baro oversampled? I can't locate it in the code. If not it could inprove the resolution. And when...
by PatrikE
Sun May 08, 2011 9:17 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

druckgott wrote:Hi,

yesterday I have crashed my Quadcopter at to much loopings ;-) so one motor is dead.


Hey. You still have 3 motors... :mrgreen:
Rebuild it to a tricopter... :idea:
by PatrikE
Sat May 07, 2011 3:49 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

Druck...
This is the DEV version i made the mod in.
http://wbb.multiwii.com/download/file.php?id=142
It´s build from orginal DEV from Alex.
That version works for me and arnoldo.
Make shure thats the one you test.

I have not tried the last dev from svn yet.

/Patrik
by PatrikE
Thu May 05, 2011 10:30 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

Althold-mod works best if it´s activated from a stationaty altitude. The position of throttlestick and altitude is memorised and creates a dead span around that position. If throttle is moved outside the span it will rise or decsend. When moved back in the dead span it will try to recover the height...
by PatrikE
Wed May 04, 2011 10:24 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

Open MultiWii_dev.pde with Arduino. It will open all the PDE-files and h-file. Change the settinngs in config.h. Upload the sketch. All files will be loaded in the board. You can use the MultiWii_dev-gui from SVN http://code.google.com/p/multiwii/source/browse/trunk/dev_version/MultiWii_dev20110504....
by PatrikE
Wed May 04, 2011 5:45 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

Hi arnaldo, Glad it works for you.. The first parameter is an amplifier and increases the correction. Increase by 1 unit at a time. (I started testing at 1.05 ) I tried 5 and 10 also. At 10 it was overshooting... I think maximum 6-7 is ok. But try the Dev version it became better i think. Made some ...
by PatrikE
Wed May 04, 2011 1:45 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

druckgott. Your Example was realistic.Thats the problem... I have tested the code and made som adjustments in it. It´s now flyable. I can fly eights & Squares at 2meters height within +/- 0,5m (Hands off ThrottleStick) But there is some "dips" probably caused by the baro where it loose...
by PatrikE
Tue May 03, 2011 8:02 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

Re: BMP085

The big problem is the difference in the values. -3 -3 6 6 6 6 7 Between -3 an 7 is a difference of 1 meter!. Jussi.... I have added my Hack i integrated into the Dev version. I´m at work so i can´t test it, but feel free to test it on your own risk... I will test it to morrow. /Patrik *Edit Removed...
by PatrikE
Thu Apr 28, 2011 11:13 pm
Forum: ESCs, propellers , servos and radios
Topic: Anyone had luck with Turnigy Basic?
Replies: 4
Views: 2976

Re: Anyone had luck with Turnigy Basic?

I have the same Esc on my quad.
Works nice with MINTHROTTLE 1190.

/Patrik
by PatrikE
Mon Apr 25, 2011 12:45 pm
Forum: Software development
Topic: BMP085
Replies: 43
Views: 13982

BMP085

I´we done some experiments on Altitudehold with the BMP085 Barometer It´s not easy to Get it to work perfekt. In the MWiiGui it´s pssible to se that it´s drifting in height +/- 1 mete r while standing on the table. Is mine faulty or isn´t the presition better? I´we modified the code so it´s working ...
by PatrikE
Wed Apr 20, 2011 5:08 pm
Forum: Ideas
Topic: Reset default.
Replies: 1
Views: 2782

Reset default.

After playing around with diffrent PID settings too much. It's nice to be able tor restore the original settings. Added to void serialCom() case 'R': // Clear EEprom to reset default settinga next start. for (int i = 0; i < 512; i++){EEPROM.write(i, 0);} break; Just send a "R" from Arduino...