Search found 7 matches

by 4eprops
Mon Apr 08, 2013 3:49 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 55972

Re: Changing PID Values with a Pot

By default PPM signal out on the 8FG is 8 channels. 12Ch out can be configured in the trainer menu, but I am not sure it works; at least it does not between two 8FG. Also, the multiconf does not show chanels above 8, but if you affect pot like I did, you should see related config values changing in...
by 4eprops
Sun Apr 07, 2013 9:34 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 55972

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 4eprops
Thu Apr 04, 2013 10:17 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 55972

Re: Changing PID Values with a Pot

obor wrote:to 4eprops: yes <first post edited>


All seems ok on the bench.

I'll try asap at the field

Thanks Obor
by 4eprops
Thu Apr 04, 2013 10:51 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 55972

Re: Changing PID Values with a Pot

obor wrote:just replace all "div_int" by "/"



Like this ((kp << 1)/FREQ_TU); ?
by 4eprops
Thu Apr 04, 2013 10:41 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 55972

Re: Changing PID Values with a Pot

obor wrote:ah, yes i forgot this: at the end of the annexCode() function


When I try to compile the IDE returns

MultiWii.cpp: In function 'void annexCode()':
MultiWii:728: error: 'div_int' was not declared in this scope

What's wrong?

Sorry for my questions but I wish to try your tune function
by 4eprops
Thu Apr 04, 2013 10:30 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 55972

Re: Changing PID Values with a Pot

obor wrote:ah, yes i forgot this: at the end of the annexCode() function


Thank you very much Obor.

Anothe question:

which is the correct procedure to tune the quad with this new function?
by 4eprops
Thu Apr 04, 2013 8:05 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 55972

Re: Changing PID Values with a Pot

Hi. Where in multiwii.ino your code must be inserted? Thanks Hi, I just tried the PID tuning together with the Ziegler-Nichols method on my quadri. I am pretty impressed, so far it works great. Before I was trying to tune by hand but never get good results. One pot (aux3) is for for gyro roll and pi...