Search found 220 matches

by alll
Fri Jun 14, 2013 8:48 pm
Forum: Software development
Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
Replies: 146
Views: 52161

Re: Reorganising source *.c code with *.h headers; Eclipse I

One of the "absolute" requirements is that all files are in a folder, you open the main ino file in the Arduino IDE, compile and upload. And i don't know (maybe i understood it wrong) why they want to keep a absolute minimum of files...? It is really nice to immediately see which functions...
by alll
Fri Jun 14, 2013 6:02 pm
Forum: Software development
Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
Replies: 146
Views: 52161

Re: Reorganising source *.c code with *.h headers; Eclipse I

Hi, Here a first attempt to get multiwii (i took ver2.2) compiled from within Eclipse with the help of the Arduino Eclipse plugin. The "MultiWii22" directory compiles still with the Arduino IDE (i tried all the 5 #define coptertests) The Eclipse CDT indexer is happy with this structure (al...
by alll
Wed Jun 12, 2013 11:43 am
Forum: Software development
Topic: GPS: combining flightmode-options
Replies: 25
Views: 9061

Re: GPS: combining flightmode-options

Maybe i get it wrong, or don’t see the complexity behind it. If you consider a standard gyro PID (rotational velocity PID) to stabilize ROLL/PITCH: 1)Gyro roll/pitch sensor input 2)Rx input 3)PID Error input 4)Mixing (tell how the output should be done to reduce the error) 5)Calc output (based on PI...
by alll
Tue Jun 11, 2013 6:39 pm
Forum: Software development
Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
Replies: 146
Views: 52161

Re: Reorganising source *.c code with *.h headers; Eclipse I

Hi Alex, I am back on this topic, is it still ongoing? I found a rather easy way to make changes to the mwii arduino ino file organisation to be able to use the code in Eclipse with the Arduino Eclipse plugin (at least the indexer is happy with it : Install Eclipse for C/C++ developers 1)Install the...
by alll
Tue Jun 11, 2013 12:12 pm
Forum: Software development
Topic: GPS: combining flightmode-options
Replies: 25
Views: 9061

Re: GPS: combining flightmode-options

Reading previous posts, i thought it was not doing exactly what it is supposed to do…

But the idea is to:
“move” current pos hold coordinates, “navigate” to this new point…
by alll
Tue Jun 11, 2013 12:07 pm
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 187221

Re: V2.2 - ACRO PID implementation is wrong, right?

Since I and D are time driven, it is very important that they are precisely called at regular intervals! m If we could have this “behavior” for all PID implementations of multiwii (knowing what the error and reference are for each pid control) it would be wonderful: And as said before, no need of ph...
by alll
Tue Jun 11, 2013 6:22 am
Forum: Software development
Topic: GPS: combining flightmode-options
Replies: 25
Views: 9061

Re: GPS: combining flightmode-options

Hi,
I recently started with GPS PH NAV RTH tuning/flying in calm and very windy conditions.
Tuning is quite hard to understand (3 PIDs) :/

But the idea to be able to "move" the pos hold location "like headfree", via roll/pith input would be really, really nice.

manu
by alll
Sun Jun 09, 2013 7:50 pm
Forum: Software development
Topic: PID-Beahvior of MW2.2
Replies: 19
Views: 6202

Re: PID-Beahvior of MW2.2

copterrichie wrote:Follow-up question, which gyro is the KK board using in the above demonstration?


Sorry, went flying this late afternoon.
It is a Invensese mpu3050 (i2c) on a N6V2 board http://www.hobbyeagle.com/n6v2/?lang=en
by alll
Sun Jun 09, 2013 2:27 pm
Forum: Software development
Topic: PID-Beahvior of MW2.2
Replies: 19
Views: 6202

Re: PID-Beahvior of MW2.2

This is an old KK PID (standard, gyro only!) implementation i made (long time ago when i started with KK), this is impossible to get with the mwii, for the moment ;) , i hope.
manu
http://youtu.be/WAf_utDpKNw
by alll
Sun Jun 09, 2013 2:07 pm
Forum: Software development
Topic: PID-Beahvior of MW2.2
Replies: 19
Views: 6202

Re: PID-Beahvior of MW2.2

MPU6050, ITG3205, ... (LPF_42HZ even if i balance everything quite well and isolate the board ) I often leave the default values for yaw, there i never could get the yaw behavior i want, so i often just increase P. Gyro for roll and pitch do behave as a standard PID and every copter has complete oth...
by alll
Sun Jun 09, 2013 2:00 pm
Forum: Getting Started - MultiWii config and setup
Topic: Call for full PID settings tutorial!!
Replies: 44
Views: 28245

Re: Call for full PID settings tutorial!!

I see i am not the only one that has difficulties in guessing how these PID loops are implemented Take the alt hold for example, here you can't apply the "standard" PID tuning, as far as i understood, the D-term is actually the accelerometer-only error input, P and I comes from the baro se...
by alll
Sun Jun 09, 2013 1:44 pm
Forum: Software development
Topic: PID-Beahvior of MW2.2
Replies: 19
Views: 6202

Re: PID-Beahvior of MW2.2

copterrichie wrote:
alll wrote:Haa, this is a more readable standard PID implementation. I am curious about the result. Maybe the final mwii yaw cure ;)
I will play with it too.


Just out of curiosity, which gyro and YAW PID settings are you using?

Thanks.


What do you mean? Do you need values, or the way i tune them?
by alll
Sun Jun 09, 2013 8:22 am
Forum: Software development
Topic: PID-Beahvior of MW2.2
Replies: 19
Views: 6202

Re: PID-Beahvior of MW2.2

Haa, this is a more readable standard PID implementation. I am curious about the result. Maybe the final mwii yaw cure ;)
I will play with it too.
by alll
Fri Jun 07, 2013 1:49 pm
Forum: Getting Started - MultiWii config and setup
Topic: Call for full PID settings tutorial!!
Replies: 44
Views: 28245

Re: Call for full PID settings tutorial!!

Tuning PID like : set I&D=0, increase P until wobble, reduce a bit, set D to reduce overshoot, finally add some I to keep steady state… is true for a « conventional/classic/standard » PID control loop : m Tuning pid values in multiwii is not that intuitive as we don’t really know how the PID con...
by alll
Thu May 23, 2013 6:19 am
Forum: MultiWii tweaking - flying experience
Topic: MultiWii - Yaw Hold... not holding.
Replies: 14
Views: 7194

Re: MultiWii - Yaw Hold... not holding.

If you are lucky to find esc's that can handle comp_pwm, it will add a breaking effect when motors are slowed down. This is really important do have fast response for both rev up as well as slow down commands! So yes, comp_pwm contribute to multirotor stability. I would even go further, that if the ...
by alll
Wed May 22, 2013 6:06 am
Forum: MultiWii tweaking - flying experience
Topic: MultiWii - Yaw Hold... not holding.
Replies: 14
Views: 7194

Re: MultiWii - Yaw Hold... not holding.

Interesting, will try it also, i too don't really like the mwii yaw implementation. I thought Alex will change this in the next release? Alex?
manu
by alll
Sun May 19, 2013 9:01 am
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 889502

Re: GPS integration

Hi, Does the GPS-navigation logic uses the altitude data of the GPS to maintain altitude hold? I ask because i have a tuned baro-alt-hold, and once i engage GPS-hold it starts yoyo. What are the dependencies/ what is using what? For example, does baro alt hold uses the z-accelerometer or only the ba...
by alll
Thu May 16, 2013 7:03 pm
Forum: Ideas
Topic: Inits via pin bridge
Replies: 8
Views: 2831

Re: Inits via pin bridge

Grrr, ok not a toolbox then, but maybe 1 procedure/"program path" that gets called if bridged. A sort of second main LOOP, where all (and only) readings are done but without outputting anything. It is up to us, to code the output the way we want. So,if bridged, all hardware initializations...
by alll
Wed May 15, 2013 11:04 pm
Forum: Ideas
Topic: Inits via pin bridge
Replies: 8
Views: 2831

Re: Inits via pin bridge

Yes, it does, especially on esc's without external osc! On esc with external osc, when you "tell" them go off when signal is 1000µs it does that! With an esc without external osc it will not! So you have to "teach" him what 1000µs means. Implementing this "init via pin bridg...
by alll
Tue May 14, 2013 9:37 pm
Forum: Ideas
Topic: Inits via pin bridge
Replies: 8
Views: 2831

Inits via pin bridge

I usually hard-code my SimonK esc for min-max range (1000-2000), and in mwii set mincommand to 1010 so that when arming motors start spinning gently. This works well on esc’s that have an internal osc, but the ones that uses the internal mcu osc are not precise enough and drift quite a lot. So, to m...
by alll
Wed May 08, 2013 5:59 pm
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 889502

Re: GPS integration

Thanks for answer. But I just want to know if I still need to upload this file to my GPS with MWii v2.2 or not because GPS on my quad works pretty good. After 2.1 Eos and Alex implemented full NEO configuration directly into MWII (serial version at least). It means no additional configuration of NE...
by alll
Tue May 07, 2013 10:56 pm
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 889502

Re: GPS integration

I played for the first time with UBlox GPS rc-timer v1 (without eeprom). I uploaded the configuration file to it u-blox-config.ublox.txt
Is this one also valid?
http://diydrones.com/xn/detail/705844:Comment:1222521

Thanks,
manu
by alll
Tue May 07, 2013 10:55 pm
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 889502

Re: GPS integration

I played for the first time with UBlox GPS rc-timer v1 (without eeprom). I uploaded the configuration file to it u-blox-config.ublox.txt Is this one also valid? m Thanks, manu Hi guys. Is this still valid for uBlox GPS from rctimer v2? from config.h file MWii v2.2 - UBLOX - U-Blox binary protocol, u...
by alll
Tue May 07, 2013 10:41 am
Forum: Shields, boards and sensors
Topic: Hexacopter Atmega 328p and Camera Tilt
Replies: 4
Views: 1549

Re: Hexacopter Atmega 328p and Camera Tilt

Damn, scary, so you compile, upload, all is working, and then after a while you get "out of memory" :shock:
How to quantify this?
manu
by alll
Thu May 02, 2013 1:29 pm
Forum: Software development
Topic: What makes Naza 'better' than Multiwii
Replies: 83
Views: 31477

Re: What makes Naza 'better' than Multiwii

baro PID tuning ... ;)
by alll
Wed May 01, 2013 6:07 pm
Forum: Software development
Topic: What makes Naza 'better' than Multiwii
Replies: 83
Views: 31477

Re: What makes Naza 'better' than Multiwii

IMO each copter needs PID tuning, i never use the defaults. I agree that having the right frame proportions for a given motor/prop/esc is the 1st most important and most difficult to find! :|
manu
by alll
Sat Apr 13, 2013 7:09 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 58010

Re: Changing PID Values with a Pot

Why do the GUI PID values don't reflect the mwii-code conf.P8,conf.I8,conf.D8 and other PID values?
To apply the Ziegler–Nichols tuning and others, this would greatly help!

manu
by alll
Sat Apr 13, 2013 6:52 am
Forum: Software development
Topic: Scrary 1000<= Rx <=2000 restriction
Replies: 9
Views: 2529

Re: Scrary 1000<= Rx <=2000 restriction

+++++, clear! thanks
These kind of explanations should be put in 1 location / thread moderated by Alex, so that bit by bit a sort ot "first read" thread is coming to live.
manu
by alll
Fri Apr 12, 2013 9:45 pm
Forum: Software development
Topic: Scrary 1000<= Rx <=2000 restriction
Replies: 9
Views: 2529

Re: Scrary 1000<= Rx <=2000 restriction

If the cppm sync signal is not long enough, usually 20ms, we could have a problem to fit 8 channels, and that mwii can not read it correctly..., but otherwise i don't see a problem? So i am still questioning where mwii would fail when i set my endpoints over the limits 1000-2000, ex: 980-2200? manu ...
by alll
Fri Apr 12, 2013 6:05 am
Forum: Software development
Topic: Scrary 1000<= Rx <=2000 restriction
Replies: 9
Views: 2529

Re: Scrary 1000<= Rx <=2000 restriction

It is not so scary and it is not so black and white as 2000 is "good", 2001 is "the end"! Those are recommended endpoints and you have some margin but if you go much more than 1000 your multy may not arm and some other functions may not work as specified and if you are using ser...
by alll
Fri Apr 12, 2013 5:58 am
Forum: Software development
Topic: Bug in v2.2: Some #define-values from 'config.h' are ignored
Replies: 6
Views: 2072

Re: Bug in v2.2: Some #define-values from 'config.h' are ign

+1, had the same weird behavior trying to set VBAT config parameters. Didn't debuged it thought.
manu
by alll
Thu Apr 11, 2013 3:04 pm
Forum: Software development
Topic: Scrary 1000<= Rx <=2000 restriction
Replies: 9
Views: 2529

Scrary 1000<= Rx <=2000 restriction

Hi,

I read a lot of posts on the importance to have the endpoints on the transmitter should be between 1000<= Rx <=2000, otherwise unpredictable behavior could be created (overflow, ....)
This makes me scary, and i don't trust this.

Could the readRx not guard us against this!

manu
by alll
Tue Apr 09, 2013 3:24 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 58010

Re: Changing PID Values with a Pot

You mentioned/used
PID: 0.60Ku  2 Kp/Pu     KpPu/8

I found this?:
PID: 0.6 Ku 2/Pu Pu/8

Why do you multiply I and D by Kp(=0.60Ku)?

manu
by alll
Tue Apr 09, 2013 9:00 am
Forum: Getting Started - MultiWii config and setup
Topic: Call for full PID settings tutorial!!
Replies: 44
Views: 28245

Re: Call for full PID settings tutorial!!

scrat wrote:... D is not that important but helps.


??, explain us, helps to do what?
by alll
Mon Apr 08, 2013 1:28 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 58010

Re: Changing PID Values with a Pot

I made a new version with 4 more pots in order to use 12 channels total. RC must be PPM (SBUS does not work for me) to get 12 channels. Now, I can tune almost all in flight (gyro R+P), level, alti, pos, posR, navrR (oy yaw). Your RC should have enough pots of course to do this. In multiwii.ino, at ...
by alll
Thu Apr 04, 2013 11:04 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 58010

Re: Changing PID Values with a Pot

Suggestion, To save Aux inputs and let Aux input behave different when armed / unarmed: Unarmed => Aux1 to select axis (ROLL/PIICH or YAW) => Aux2 to select the 3 "ku"-PID parameters to set => Throttle stick to set param value (0..100%) => Pitch stick down to save param value to eeprom Whe...
by alll
Mon Apr 01, 2013 4:37 pm
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 710887

Re: MultiWii EZ-GUI

Hi,

Nice app, i was using Multiwii config for Android, and they have a nice slider with + and - to finetune the value. Do you think it is feasible to have this in EZ-Gui?

Thanks,
manu
by alll
Tue Mar 26, 2013 8:14 pm
Forum: Software
Topic: Adjusting parameters in flight via receiver channel value?
Replies: 7
Views: 3095

Re: Adjusting parameters in flight via receiver channel valu

+1 Unarmed => Aux1 to select Roll,Pich,Yaw axis => Aux2 to select P, I, D param => Throttle stick to set param value (0..100%) => Pitch stick down to save param value to eeprom When throttle stick equal current value, blink led or buzzer. That however means I have to stop, unarm, change parameter, ...
by alll
Tue Mar 26, 2013 1:28 pm
Forum: Software
Topic: Adjusting parameters in flight via receiver channel value?
Replies: 7
Views: 3095

Re: Adjusting parameters in flight via receiver channel valu

Armed => Aux3 to select P, I, D (for roll & pitch) via 3 way switch => Aux4 adjust via proportional pot => a way to confirm and save to eeprom?...
by alll
Tue Mar 26, 2013 9:46 am
Forum: Software
Topic: Adjusting parameters in flight via receiver channel value?
Replies: 7
Views: 3095

Re: Adjusting parameters in flight via receiver channel valu

+1 This would be really great! I would like to have it like this: Unarmed => Aux1 to select Roll,Pich,Yaw axis => Aux2 to select P, I, D param => Throttle stick to set param value (0..100%) => Pitch stick down to save param value to eeprom When throttle stick equal current value, blink led or buzzer...
by alll
Wed Mar 13, 2013 12:08 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 362238

Re: Alternative ESC firmware (reflashing)

ziss_dm wrote:@Hamburger

Check your fuses, CKOPT should be programmed.


What does that do? Is it always better to activate it for esc flashing (SimonK and others)?
edit: i found this:
http://www.petervis.com/C/1st%20configu ... tions.html

@Hamburger
Did it make a difference?

manu
by alll
Fri Mar 08, 2013 7:17 am
Forum: Software development
Topic: Is the D-term in the multiwii reversed...?
Replies: 21
Views: 5114

Re: Is the D-term in the multiwii reversed...?

Yep, love mwii p&r hate yaw! ;)
I think it is because mwii treats the yaw pid differently as the p&r pid loop, and it should not for acro flying.
by alll
Thu Mar 07, 2013 7:12 am
Forum: General discussions
Topic: Help with Yaw
Replies: 4
Views: 1703

Re: Help with Yaw

Will #define YAW_DIRECTION 0 completely cancel yaw gyro+stick corrections, or only gyro corrections?
manu
by alll
Wed Mar 06, 2013 9:04 am
Forum: Pictures & Videos
Topic: king warthox !!
Replies: 49
Views: 19703

Re: king warthox !!

And now mwc_esc / SimonK esc to do the same ..., and have a special mwc_3D with tunable PID via Aux-outputs :))),
i will love to try it out.
manu
by alll
Mon Mar 04, 2013 10:41 pm
Forum: Ideas
Topic: wishlist for v2.3
Replies: 104
Views: 43704

Re: wishlist for v2.3

Possibility to set flight parameters (PID rate, rc rate) via aux1 and aux2.
Sometimes i want to fly calm, other times i enjoy 3D.
manu
by alll
Sat Mar 02, 2013 8:37 am
Forum: Software development
Topic: Release 2.2 is coming
Replies: 167
Views: 58440

Re: Release 2.2 is coming

Alexinparis wrote:This is something that will change for next release, I promise ;)
annex .ino -> .c+.h or .h only
most probably with a structure like this:
http://code.google.com/p/mwc-ng/source/ ... comp%2Fsrc


:P thanks!
manu
by alll
Fri Mar 01, 2013 10:22 am
Forum: Software development
Topic: Release 2.2 is coming
Replies: 167
Views: 58440

Re: Release 2.2 is coming

Pleaaase, lets make the effort once, and it will compile in all modern ide's, even in the Arduinio IDE.
by alll
Thu Feb 28, 2013 10:09 pm
Forum: Software development
Topic: Release 2.2 is coming
Replies: 167
Views: 58440

Re: Release 2.2 is coming

I think some of function or sensors should be considered as "standard" (like gyro ar acc even if not used) for multiwii, and some other function should be considered as "optional". Everything could be defined everything as "optional", and it would result in a very smal...